Skip to content

mv contrib/eus64-check to euslisp/test #434

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Jun 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,27 @@ if [ "$QEMU" != "" ]; then
export EXIT_STATUS=0;
set +e
# run test in EusLisp/test
make -C test
for test_l in test/*.l; do

[[ "`uname -m`" == "ppc64le"* && $test_l =~ test-foreign.l ]] && continue;

travis_time_start euslisp.${test_l##*/}.test

sed -i 's/\(i-max\ [0-9]000\)0*/\1/' $test_l

eusgl $test_l;
export TMP_EXIT_STATUS=$?

travis_time_end `expr 32 - $TMP_EXIT_STATUS`
export CONTINUE=0
# test-foreign.l only works for x86 / arm
if [[ $test_l =~ test-foreign.l && ! "$(gcc -dumpmachine)" =~ "aarch".*|"arm".*|"x86_64".*|"i"[0-9]"86".* ]]; then export CONTINUE=1; fi

if [[ $CONTINUE == 0 ]]; then travis_time_end `expr 32 - $TMP_EXIT_STATUS`; else travis_time_end 33; fi

if [[ $TMP_EXIT_STATUS != 0 ]]; then echo "Failed running $test_l. Exiting with $TMP_EXIT_STATUS"; fi

if [[ $CONTINUE != 0 ]]; then export TMP_EXIT_STATUS=0; fi

export EXIT_STATUS=`expr $TMP_EXIT_STATUS + $EXIT_STATUS`;

Expand All @@ -105,7 +116,6 @@ if [ "$QEMU" != "" ]; then
eusgl "(let ((o (namestring (merge-pathnames \".o\" \"$test_l\"))) (so (namestring (merge-pathnames \".so\" \"$test_l\")))) (compile-file \"$test_l\" :o o) (if (probe-file so) (load so) (exit 1))))"
export TMP_EXIT_STATUS=$?

export CONTINUE=0
# const.l does not compilable https://github.com/euslisp/EusLisp/issues/318
if [[ $test_l =~ const.l ]]; then export CONTINUE=1; fi

Expand Down Expand Up @@ -235,6 +245,7 @@ if [[ "`uname -m`" == "aarch"* ]]; then
fi

# run test in EusLisp/test
make -C $CI_SOURCE_PATH/test
for test_l in $CI_SOURCE_PATH/test/*.l; do

travis_time_start euslisp.${test_l##*/}.test
Expand Down Expand Up @@ -299,15 +310,6 @@ fi

[ $EXIT_STATUS == 0 ] || exit 1

travis_time_start eus64.test

if [[ "$TRAVIS_OS_NAME" == "osx" || "`uname -m`" == "arm"* ]]; then
uname -a
else
make -C eus/contrib/eus64-check/ || exit 1 # check eus64-check
fi
travis_time_end

if [ "$TRAVIS_OS_NAME" == "linux" -a "`uname -m`" == "x86_64" ]; then

travis_time_start script.doc
Expand Down
34 changes: 0 additions & 34 deletions contrib/eus64-check/Makefile

This file was deleted.

38 changes: 0 additions & 38 deletions contrib/eus64-check/eus64-module.l

This file was deleted.

249 changes: 0 additions & 249 deletions contrib/eus64-check/eus64-test.l

This file was deleted.

Loading