tests2: fix 30_hanoi test and enable it.

master
minux 2014-04-12 13:37:37 -04:00
parent 0e3d2e0bea
commit 0a51386960
2 changed files with 2 additions and 2 deletions

View File

@ -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++;

View File

@ -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)