Skip to content

Commit a5edf00

Browse files
committed
Run -unittest target on Windows
1 parent e23bb45 commit a5edf00

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/win32.mak

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ trace:
302302

303303
unittest:
304304
$(DMDMAKE) "OPT=-o" "DEBUG=" "DDEBUG=-debug -g -unittest -cov" "DOPT=" "LFLAGS=-L/ma/co/delexe/la" $(TARGETEXE)
305+
$(TARGETEXE)
305306

306307
################################ Libraries ##################################
307308

src/win64.mak

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ trace : $(DEPENDENCIES)
3434
clean :
3535
del $(DEPENDENCIES) dmd.pdb
3636
$(MAKE_WIN32) $@
37+
unittest: $(DEPENDENCIES)
38+
$(MAKE_WIN32) $@
3739
install : $(DEPENDENCIES)
3840
$(MAKE_WIN32) $@
3941
install-clean : $(DEPENDENCIES)

win32.mak

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ auto-tester-test:
1212
cd samples
1313
gmake -f win32.mak DMD=..\src\dmd.exe MODEL=$(MODEL) "LIB=..\..\phobos;$(LIB)" \
1414
"DFLAGS=-I..\..\druntime\import -I..\..\phobos -m$(MODEL)"
15+
cd ..\src
16+
$(MAKE) -f win32.mak unittest
1517
cd ..
16-

0 commit comments

Comments
 (0)