diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test | 23 |
1 files changed, 9 insertions, 14 deletions
@@ -29,11 +29,15 @@ alias t=. # have already been written and passed, set to . otherwise -set -v - -test -n "${SUPPORTED_OSES}" # This check that the test's environment has set up, if this fails, run through `make check` +if ! env | grep '^SUPPORTED_OSES=' >/dev/null; then + printf '%s\n' \ + "The test's environment has not been set up;" \ + 'you should run the test via `make check`' + exit 1 +fi -(. tests/test-self-check;) >/dev/null 2>/dev/null +set -v +(. tests/test-self-check) >/dev/null 2>/dev/null @@ -41,31 +45,22 @@ t tests/enums . tests/load-types t tests/errors - t tests/syscall-ranges - t tests/syscall-errors - t tests/signals - t tests/split-register-classes . tests/load-archinfo t tests/archinfo t tests/fundamental-primitives - t tests/is-struct - t tests/array-types - t tests/fixed-array-types - t tests/split-register-types - t tests/os-dependent-primitives - t tests/os-dependent-arrays +t tests/os-dependent-integers |