Skip to content

Commit dfdcd64

Browse files
committed
GDC doesn't autocreate output dir.
1 parent b6a6ef3 commit dfdcd64

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

run-phobos-tests

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@ echo Using:
1818
echo " RDMD=$RDMD"
1919
echo " DMD=$DMD"
2020

21+
# GDC doesn't autocreate the dir (and git doesn't beleive in empty dirs)
22+
mkdir -p bin
23+
2124
echo Compiling Phobos-socket tests...
2225
$RDMD --compiler=$DMD --build-only -g -unittest -debug=MYSQL_INTEGRATION_TESTS -ofbin/mysqln-tests-phobos -Isource source/mysql/connection.d && echo Running Phobos-socket tests... && bin/mysqln-tests-phobos

run-phobos-tests.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
@echo off
2+
3+
rem GDC doesn't autocreate the dir (and git doesn't beleive in empty dirs)
4+
mkdir bin >NUL 2>NUL
5+
26
echo Compiling Phobos-socket tests...
37
rdmd --build-only -g -unittest -debug=MYSQL_INTEGRATION_TESTS -ofbin/mysqln-tests-phobos -Isource source/mysql/connection.d && echo Running Phobos-socket tests... && bin/mysqln-tests-phobos

0 commit comments

Comments
 (0)