History

Add entry to run tests2 tests

Christian Jullien committed 9 years ago

Commit f33801e1 parent d61985b1 file · +9 −0Browse files

Unified · Split

win32/Makefile+9−0
@@ -34,6 +34,10 @@ all: pre bootstrap libs rebuild · 33 unmodified lines
3434 @ls -ls *.exe
3535
3636 pre:
37+ @echo ARCH=x86-64 1> ../config.mak
38+ @echo TARGETOS=Windows 1>> ../config.mak
39+ @echo CONFIG_WIN32=yes 1>> ../config.mak
40+ @echo TOPSRC=$$\(TOP\) 1>> ../config.mak
3741 @echo "#define TCC_VERSION \"$(VERSION)\"" 1>../config.h
3842 @echo "#ifdef TCC_TARGET_X86_64" 1>>../config.h
3943 @echo "#define CONFIG_TCC_LIBPATHS \"{B}/lib/64;{B}/lib\"" 1>>../config.h
@@ -110,6 +114,11 @@ rebuild: · 70 unmodified lines
110114
111115 PHONY += rebuild
112116
117+test:
118+ @(cd ../tests/tests2; $(MAKE) -k TCC=../../win32/tcc)
119+
120+PHONY += test
121+
113122 TARNAME = tcc-$(VERSION)-$(PREFIX)-win32
114123
115124 tarball:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t