diff options
| author | Mattias Andrée <maandree@kth.se> | 2023-12-07 20:35:16 +0100 | 
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2023-12-07 20:35:16 +0100 | 
| commit | 225f1408e03f2e66198f3da20c42a746e2729ab0 (patch) | |
| tree | ebd6bd4b576c85159e852103ce21d4515484d853 /test | |
| parent | Third commit (diff) | |
| download | libsyscalls-225f1408e03f2e66198f3da20c42a746e2729ab0.tar.gz libsyscalls-225f1408e03f2e66198f3da20c42a746e2729ab0.tar.bz2 libsyscalls-225f1408e03f2e66198f3da20c42a746e2729ab0.tar.xz | |
Fourth commit
Signed-off-by: Mattias Andrée <maandree@kth.se>
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 | 
