mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
tests2: fix 30_hanoi test and enable it.
This commit is contained in:
parent
0e3d2e0bea
commit
0a51386960
@ -68,7 +68,7 @@ void PrintAll()
|
||||
/* Returns the value moved (not used.) */
|
||||
int Move(int *source, int *dest)
|
||||
{
|
||||
int i,j;
|
||||
int i = 0, j = 0;
|
||||
|
||||
while (i<N && (source[i])==0) i++;
|
||||
while (j<N && (dest[j])==0) j++;
|
||||
|
@ -88,7 +88,7 @@ TESTS = \
|
||||
# 34_array_assignment.test -- array assignment is not in C standard
|
||||
# 46_grep.test -- does not compile even with gcc
|
||||
|
||||
SKIP = 30_hanoi.test 34_array_assignment.test 46_grep.test
|
||||
SKIP = 34_array_assignment.test 46_grep.test
|
||||
|
||||
# some tests do not pass on all platforms, remove them for now
|
||||
ifeq ($(TARGETOS),Darwin)
|
||||
|
Loading…
Reference in New Issue
Block a user