travis.sh 920 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #!/bin/sh
  2. # Copyright 2019-2021 Yury Gribov
  3. #
  4. # The MIT License (MIT)
  5. #
  6. # Use of this source code is governed by MIT license that can be
  7. # found in the LICENSE.txt file.
  8. set -eu
  9. # TODO: use pipefail here and in test scripts
  10. if test -n "${TRAVIS:-}" -o -n "${GITHUB_ACTIONS:-}"; then
  11. set -x
  12. fi
  13. cd $(dirname $0)/..
  14. ARCH=${ARCH:-}
  15. export PYTHON="${PYTHON:-python3}"
  16. tests/basic/run.sh $ARCH
  17. tests/exceptions/run.sh $ARCH
  18. tests/data-warnings/run.sh $ARCH
  19. tests/vtables/run.sh $ARCH
  20. if test -z "$ARCH"; then
  21. # TODO: enable for other targets
  22. tests/ld/run.sh
  23. fi
  24. if ! echo "$ARCH" | grep -q 'i[0-9]86'; then
  25. # TODO: symtab on x86 seems to be corrupted
  26. tests/multilib/run.sh $ARCH
  27. fi
  28. tests/hidden/run.sh $ARCH
  29. tests/verbose/run.sh $ARCH
  30. tests/no_dlopen/run.sh $ARCH
  31. tests/multiple-dlopens/run.sh $ARCH
  32. tests/multiple-dlopens-2/run.sh $ARCH
  33. tests/multiple-dlopens-3/run.sh $ARCH
  34. tests/many-functions/run.sh $ARCH