From b7279f6d67dcb3494cede1a4fc2acb61d9b8cc2c Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Fri, 8 Mar 2019 16:04:20 +0100 Subject: [PATCH] unittest: Remove tmp directory from repository and create it during build This fixes out of tree builds. Signed-off-by: Stefan Weil --- unittest/Makefile.am | 7 +++++++ unittest/tmp/README.md | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) delete mode 100644 unittest/tmp/README.md diff --git a/unittest/Makefile.am b/unittest/Makefile.am index 872149f887..dd22f358c0 100644 --- a/unittest/Makefile.am +++ b/unittest/Makefile.am @@ -155,6 +155,13 @@ endif TESTS = $(check_PROGRAMS) +.PHONY: all + +all: tmp + +tmp: + mkdir -p tmp + # List of source files needed to build the executable: apiexample_test_SOURCES = apiexample_test.cc diff --git a/unittest/tmp/README.md b/unittest/tmp/README.md deleted file mode 100644 index 0df3843b76..0000000000 --- a/unittest/tmp/README.md +++ /dev/null @@ -1,3 +0,0 @@ -Directory for holding temporary files created during unittests - -Clear it before running `make check`.