Skip to content

Commit

Permalink
Fix dependency on tmp directory for unittest programs
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
Stefan Weil committed Dec 24, 2020
1 parent 30e3f10 commit 5c579de
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions unittest/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,6 @@ endif # ENABLE_TRAINING

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
Expand Down Expand Up @@ -484,6 +477,13 @@ $(abs_top_builddir)/test/testing/phototest.txt:
mkdir -p $(top_builddir)/test/testing
ln -s $(TESTING_DIR)/phototest.txt $(top_builddir)/test/testing/phototest.txt

# Some tests require a local tmp directory.

$(check_PROGRAMS): | tmp

tmp:
mkdir -p tmp

# Some tests require a well defined set of the following font files.

fonts = ae_Arab.ttf
Expand Down

0 comments on commit 5c579de

Please sign in to comment.