1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:17:44 +00:00

test-js: Remove run-tests.sh

The shell script is no longer necessary -- simply run "test-js" from
inside Serenity, or $SERENITY_ROOT/Build/Meta/Lagom/test-js from the
host.
This commit is contained in:
Matthew Olsson 2020-07-04 11:50:24 -07:00 committed by Andreas Kling
parent 26acc8ba88
commit cf537311e4
3 changed files with 14 additions and 21 deletions

View file

@ -1,16 +0,0 @@
#!/bin/bash
if [ "$(uname)" = "SerenityOS" ]; then
js_program=/bin/test-js
test_root=/home/anon/js-tests
else
[ -z "$js_program" ] && js_program="$SERENITY_ROOT/Build/Meta/Lagom/test-js"
test_root="$SERENITY_ROOT/Libraries/LibJS/Tests"
# Enable back traces if sanitizers are enabled
export UBSAN_OPTIONS=print_stacktrace=1
fi
$js_program "$test_root"
exit $!