Revision 3ef693a0 tests/Makefile
b/tests/Makefile | ||
---|---|---|
8 | 8 |
endif |
9 | 9 |
TESTS+=sha1 |
10 | 10 |
|
11 |
GEMU=../gemu
|
|
11 |
QEMU=../qemu
|
|
12 | 12 |
|
13 | 13 |
all: $(TESTS) |
14 | 14 |
|
... | ... | |
34 | 34 |
ifeq ($(ARCH),i386) |
35 | 35 |
./test-i386 > test-i386.ref |
36 | 36 |
endif |
37 |
$(GEMU) test-i386 > test-i386.out
|
|
37 |
$(QEMU) test-i386 > test-i386.out
|
|
38 | 38 |
@if diff -u test-i386.ref test-i386.out ; then echo "Auto Test OK"; fi |
39 | 39 |
|
40 | 40 |
# speed test |
... | ... | |
46 | 46 |
|
47 | 47 |
speed: sha1 sha1-i386 |
48 | 48 |
time ./sha1 |
49 |
time $(GEMU) ./sha1-i386
|
|
49 |
time $(QEMU) ./sha1-i386
|
|
50 | 50 |
|
51 | 51 |
clean: |
52 | 52 |
rm -f *~ *.o $(TESTS) |
Also available in: Unified diff