Skip to content

Commit 2a5b3cf

Browse files
rsekmanOleksiy-Yakovenko
authored andcommitted
fix: test script doesn't fail if output directory already exists
1 parent 6ef4bad commit 2a5b3cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ $(BUILD)/runtests: $(TEST_C_OBJS) $(GOOGLE_TEST_OBJS) $(TEST_CPP_OBJS)
9999
$(CXX) $(LDFLAGS) $(TEST_C_OBJS) $(GOOGLE_TEST_OBJS) $(TEST_CPP_OBJS) $(LIBRARIES) -o $@
100100

101101
runtests: $(BUILD)/runtests
102-
mkdir $(BUILD)/Tests
102+
mkdir -p $(BUILD)/Tests
103103
cp -r Tests/TestData $(BUILD)/Tests/
104104
cp -r Tests/PresetManagerData $(BUILD)/Tests/
105105
cd $(BUILD) ; ./runtests

0 commit comments

Comments
 (0)