first multi target test (lauches 'ls')
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 4 Jan 2004 16:08:39 +0000 (16:08 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 4 Jan 2004 16:08:39 +0000 (16:08 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@500 c046a42c-6fe2-441c-8c8c-71466251a162

tests/Makefile

index 4cfe791..a9bb0f3 100644 (file)
@@ -65,5 +65,11 @@ hello-arm: hello-arm.o
 hello-arm.o: hello-arm.c
        arm-linux-gcc -Wall -g -O2 -c -o $@ $<
 
+# XXX: find a way to compile easily a test for each arch
+test2:
+       @for arch in i386 arm sparc ppc; do \
+           ../$${arch}-user/qemu-$${arch} $${arch}/ls -l linux-test.c ; \
+        done
+
 clean:
        rm -f *~ *.o $(TESTS)