diff options
author | 2017-07-04 23:00:43 -0400 | |
---|---|---|
committer | 2017-07-18 10:05:06 -0400 | |
commit | 26116187dd45fa08b12e486c5833b1bd705edfe0 (patch) | |
tree | 85f5af773457d633640e239daccad20513e72da2 /test/TEST-01-BASIC | |
parent | test: convert test/ to use meson install (diff) | |
download | systemd-26116187dd45fa08b12e486c5833b1bd705edfe0.tar.gz systemd-26116187dd45fa08b12e486c5833b1bd705edfe0.tar.bz2 systemd-26116187dd45fa08b12e486c5833b1bd705edfe0.zip |
test: try to guess the build directory
This will work if $(TOP_SRC_DIR) has exactly one subdirectory with
.ninja_deps. Otherwise, BUILD_DIR has to be specified.
Diffstat (limited to 'test/TEST-01-BASIC')
-rw-r--r-- | test/TEST-01-BASIC/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/TEST-01-BASIC/Makefile b/test/TEST-01-BASIC/Makefile index c29fd0676..b895de8bc 100644 --- a/test/TEST-01-BASIC/Makefile +++ b/test/TEST-01-BASIC/Makefile @@ -1,2 +1,4 @@ +include ../Makefile.guess + all setup clean run: - @basedir=../.. TEST_BASE_DIR=../ ./test.sh --$@ + @basedir=../.. TEST_BASE_DIR=../ BUILD_DIR=$(BUILD_DIR) ./test.sh --$@ |