From b02d595051d9335152142c62a71d4aceab93d25d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 29 Dec 2019 12:48:55 +0000 Subject: [PATCH] build tests: Break out build-common Signed-off-by: Ian Jackson --- tests/build-common | 4 ++++ tests/example/check | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 tests/build-common diff --git a/tests/build-common b/tests/build-common new file mode 100644 index 0000000..01ed839 --- /dev/null +++ b/tests/build-common @@ -0,0 +1,4 @@ + +SUBDIRMK_REGEN_NDEBUG='' +export SUBDIRMK_REGEN_NDEBUG + diff --git a/tests/example/check b/tests/example/check index 143fe05..d492068 100755 --- a/tests/example/check +++ b/tests/example/check @@ -1,10 +1,9 @@ #!/bin/sh set -ex -cd example +. tests/build-common -SUBDIRMK_REGEN_NDEBUG='' -export SUBDIRMK_REGEN_NDEBUG +cd example : ----- in-tree build ----- -- 2.30.2