From 225f1408e03f2e66198f3da20c42a746e2729ab0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 7 Dec 2023 20:35:16 +0100 Subject: Fourth commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- test | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'test') diff --git a/test b/test index c825493..185d915 100755 --- a/test +++ b/test @@ -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 -- cgit v1.2.3-70-g09d2