summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/clang-tidy-diff.sh2
-rwxr-xr-xscripts/emcc-tests.sh (renamed from scripts/travis-emcc-tests.sh)12
2 files changed, 7 insertions, 7 deletions
diff --git a/scripts/clang-tidy-diff.sh b/scripts/clang-tidy-diff.sh
index c3f3cc4a2..c8d6b11a5 100755
--- a/scripts/clang-tidy-diff.sh
+++ b/scripts/clang-tidy-diff.sh
@@ -21,7 +21,7 @@ if [ ! -e "$CLANG_TIDY" ]; then
exit 1
fi
-CLANG_DIR=$(dirname $(dirname $CLANG_TIDY))
+CLANG_DIR=$(dirname $(dirname $(readlink -f $CLANG_TIDY)))
CLANG_TIDY_DIFF=$CLANG_DIR/share/clang/clang-tidy-diff.py
if [ ! -e "$CLANG_TIDY_DIFF" ]; then
echo "Failed to find clang-tidy-diff.py ($CLANG_TIDY_DIFF)"
diff --git a/scripts/travis-emcc-tests.sh b/scripts/emcc-tests.sh
index ac10118f8..bea5760e6 100755
--- a/scripts/travis-emcc-tests.sh
+++ b/scripts/emcc-tests.sh
@@ -2,15 +2,15 @@
set -e
-echo "travis-test build:wasm"
+echo "emcc-tests: build:wasm"
emcmake cmake -DCMAKE_BUILD_TYPE=Release
emmake make -j4 binaryen_wasm
-echo "travis-test test:wasm"
+echo "emcc-tests: test:wasm"
python3 -m scripts.test.binaryenjs wasm
-echo "travis-test done:wasm"
+echo "emcc-tests: done:wasm"
-echo "travis-test build:js"
+echo "emcc-tests: build:js"
emmake make -j4 binaryen_js
-echo "travis-test test:js"
+echo "emcc-tests: test:js"
python3 -m scripts.test.binaryenjs js
-echo "travis-test done:js"
+echo "emcc-tests: done:js"