~ubuntu-branches/ubuntu/wily/tcc/wily-proposed

« back to all changes in this revision

Viewing changes to tests/tests2/Makefile

  • Committer: Package Import Robot
  • Author(s): Matteo Cypriani
  • Date: 2014-10-17 15:29:00 UTC
  • Revision ID: package-import@ubuntu.com-20141017152900-mfkegu6k9n220ys3
Tags: 0.9.27~git20140923.9d7fb33-3
New patch to fix tests2 on armel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 18_include.test \
42
42
 19_pointer_arithmetic.test \
43
43
 20_pointer_comparison.test \
44
 
 21_char_array.test
45
 
 
46
 
ifneq ($(CONFIG_arm_eabi),yes) # not ARM soft-float
47
 
        TESTS += 22_floating_point.test
48
 
endif
49
 
 
50
 
TESTS += \
 
44
 21_char_array.test \
 
45
 22_floating_point.test \
51
46
 23_type_coercion.test \
52
47
 24_math_library.test \
53
48
 25_quicksort.test \
100
95
SKIP = 34_array_assignment.test
101
96
 
102
97
# some tests do not pass on all platforms, remove them for now
 
98
ifeq ($(CONFIG_arm_eabi),yes) # not ARM soft-float
 
99
 SKIP += 22_floating_point.test
 
100
endif
103
101
ifeq ($(TARGETOS),Darwin)
104
102
 SKIP += 40_stdio.test
105
103
endif
118
116
%.test: %.c %.expect
119
117
        @echo Test: $*...
120
118
 
121
 
        @$(TCC) -run $< $(ARGS) >$*.output 2>&1 || true
 
119
        @$(TCC) -run $< $(ARGS) 2>&1 | grep -v 'warning: soft float ABI currently not supported: default to softfp' >$*.output || true
122
120
        @diff -bu $*.expect $*.output && rm -f $*.output
123
121
 
124
 
        @($(TCC) $< -o $*.exe && ./$*.exe $(ARGS)) >$*.output2 2>&1 || true
 
122
        @($(TCC) $< -o $*.exe && ./$*.exe $(ARGS)) 2>&1 | grep -v 'warning: soft float ABI currently not supported: default to softfp' >$*.output2 || true
125
123
        @diff -bu $*.expect $*.output2 && rm -f $*.output2 $*.exe
126
124
 
127
125
clean: