2020-11-05 07:12:57 +00:00
|
|
|
#!/usr/bin/bash
|
|
|
|
set -x
|
|
|
|
|
|
|
|
export MACH_USE_SYSTEM_PYTHON=1
|
|
|
|
|
|
|
|
# Fix for system nss
|
|
|
|
ln -s /usr/bin/certutil objdir/dist/bin/certutil
|
|
|
|
ln -s /usr/bin/pk12util objdir/dist/bin/pk12util
|
|
|
|
|
|
|
|
mkdir test_results
|
2020-11-13 22:02:02 +00:00
|
|
|
objdir/dist/bin/jsapi-tests >& test_results/check-jsapi || true &
|
|
|
|
./mach cppunittest >& test_results/check-cppunittest || true &
|
|
|
|
./mach gtest >& test_results/check-gtest || true &
|
|
|
|
./mach rusttests >& test_results/check-rusttests || true &
|
2020-11-05 07:12:57 +00:00
|
|
|
|
|
|
|
# We can't parallelize these tests
|
2020-11-13 22:02:02 +00:00
|
|
|
./mach jstests >& test_results/check-jstests || true
|
|
|
|
./mach xpcshell-test >& test_results/check-xpcshell-test || true
|
2020-11-05 07:12:57 +00:00
|
|
|
xvfb-run ./mach jstestbrowser >& test_results/check-jstestbrowser || true
|
|
|
|
xvfb-run ./mach crashtest >& test_results/check-crashtest || true
|
|
|
|
xvfb-run ./mach marionette-test >& test_results/check-marionette-test || true
|
|
|
|
xvfb-run ./mach reftest >& test_results/check-reftest || true
|
|
|
|
xvfb-run ./mach mochitest >& test_results/check-mochitest || true
|
|
|
|
|
|
|
|
rm -f objdir/dist/bin/certutil
|
|
|
|
rm -f objdir/dist/bin/pk12util
|
|
|
|
|