Minor build system changes to make ABITest work correctly on Linux.

llvm-svn: 72405
This commit is contained in:
Eli Friedman 2009-05-25 22:07:09 +00:00
parent 1cae3df3cf
commit 1fd785f564
4 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@ test.%.report: temps/test.%.xx.diff temps/test.%.xy.diff temps/test.%.yx.diff te
ok=0;\
fi; \
done; \
if [ $$ok == 1 ]; then \
if [ $$ok -eq 1 ]; then \
true; \
else \
false; \

View File

@ -7,6 +7,6 @@ if [ $# != 1 ]; then
exit 1
fi
CPUS=$(sysctl -n hw.ncpu)
CPUS=2
make -j $CPUS \
$(for i in $(zseq 0 $1); do echo test.$i.report; done) -k
$(for i in $(seq 0 $1); do echo test.$i.report; done) -k

View File

@ -12,7 +12,7 @@ TIMEOUT := 5
CFLAGS := -std=gnu99
X_COMPILER := llvm-gcc
Y_COMPILER := xcc -ccc-clang
Y_COMPILER := clang
CC := gcc
ifeq (0, 0)

View File

@ -7,7 +7,7 @@ if [ $# != 1 ]; then
exit 1
fi
for i in $(zseq 0 $1); do
for i in $(seq 0 $1); do
if (! make test.$i.report &> /dev/null); then
echo "FAIL: $i";
fi;