History

Revert "Fix tests Makefiles on Windows"

This reverts commit fa2472c17246206ce6947475782de17245eceeea.

Vlad Vissoultchev committed 10 years ago

Commit acc8f601 parent f021a7c3 files · +2 −14Browse files

Unified · Split

3 files
  1. tests/Makefile +1 −2
  2. tests/pp/Makefile +1 −8
  3. tests/tests2/Makefile +0 −4
tests/Makefile+1−2
@@ -60,13 +60,12 @@ endif · 59 unmodified lines
60 60
61# run local version of tcc with local libraries and includes61# run local version of tcc with local libraries and includes
62TCCFLAGS = -B$(TOP) -I$(TOP) -I$(top_srcdir) -I$(top_srcdir)/include -L$(TOP)62TCCFLAGS = -B$(TOP) -I$(TOP) -I$(top_srcdir) -I$(top_srcdir)/include -L$(TOP)
63TCC = $(TOP)/tcc $(TCCFLAGS)
64ifdef CONFIG_WIN3263ifdef CONFIG_WIN32
65 TCCFLAGS = -B$(top_srcdir)/win32 -I$(top_srcdir) -I$(top_srcdir)/include -L$(TOP)64 TCCFLAGS = -B$(top_srcdir)/win32 -I$(top_srcdir) -I$(top_srcdir)/include -L$(TOP)
66 TCC = $(TOP)/win32/tcc $(TCCFLAGS)
67endif65endif
68XTCCFLAGS = -B$(TOP) -B$(top_srcdir)/win32 -I$(TOP) -I$(top_srcdir) -I$(top_srcdir)/include66XTCCFLAGS = -B$(TOP) -B$(top_srcdir)/win32 -I$(TOP) -I$(top_srcdir) -I$(top_srcdir)/include
69 67
68TCC = $(TOP)/tcc $(TCCFLAGS)
70RUN_TCC = $(NATIVE_DEFINES) -DONE_SOURCE -run $(top_srcdir)/tcc.c $(TCCFLAGS)69RUN_TCC = $(NATIVE_DEFINES) -DONE_SOURCE -run $(top_srcdir)/tcc.c $(TCCFLAGS)
71 70
72DISAS = objdump -d71DISAS = objdump -d
tests/pp/Makefile+1−8
@@ -2,17 +2,10 @@ · 1 unmodified line
2# credits: 01..13.c from the pcc cpp-tests suite2# credits: 01..13.c from the pcc cpp-tests suite
3#3#
4 4
5TOP = ../..5TCC = ../../tcc
6include $(TOP)/Makefile
7
8TCC = $(TOP)/tcc
9TESTS = $(patsubst %.c,%.test,$(wildcard *.c))6TESTS = $(patsubst %.c,%.test,$(wildcard *.c))
10TESTS += $(patsubst %.S,%.test,$(wildcard *.S))7TESTS += $(patsubst %.S,%.test,$(wildcard *.S))
11 8
12ifdef CONFIG_WIN32
13 TCC = $(top_srcdir)/win32/tcc
14endif
15
16all test : $(TESTS)9all test : $(TESTS)
17 10
18%.test: %.c %.expect11%.test: %.c %.expect
tests/tests2/Makefile+0−4
@@ -19,10 +19,6 @@ endif · 18 unmodified lines
19 19
20TCC = $(TOP)/tcc $(TCCFLAGS)20TCC = $(TOP)/tcc $(TCCFLAGS)
21 21
22ifdef CONFIG_WIN32
23 TCC = $(top_srcdir)/win32/tcc $(TCCFLAGS)
24endif
25
26TESTS = $(patsubst %.c,%.test,$(wildcard *.c))22TESTS = $(patsubst %.c,%.test,$(wildcard *.c))
27 23
28# 34_array_assignment.test -- array assignment is not in C standard24# 34_array_assignment.test -- array assignment is not in C standard

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