diff options
| author | edgar_igl | 2008-03-01 23:23:17 +0100 |
|---|---|---|
| committer | edgar_igl | 2008-03-01 23:23:17 +0100 |
| commit | e1ffb0f18f01dfedbff344bfeaf85ef9bd2084c4 (patch) | |
| tree | 906b9b34c64104fa728152d5f8a081ef189571d0 /tests/Makefile | |
| parent | Add test-case for btst CCS flags updates. (diff) | |
| download | qemu-e1ffb0f18f01dfedbff344bfeaf85ef9bd2084c4.tar.gz qemu-e1ffb0f18f01dfedbff344bfeaf85ef9bd2084c4.tar.xz qemu-e1ffb0f18f01dfedbff344bfeaf85ef9bd2084c4.zip | |
Add a tests for user-mode mmap
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4006 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tests/Makefile')
| -rw-r--r-- | tests/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile index 1775be8684..7f19fde703 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -51,6 +51,15 @@ ifeq ($(ARCH),i386) @if diff -u test-i386.ref test-i386.out ; then echo "Auto Test OK (no code copy)"; fi endif +.PHONY: test-mmap +test-mmap: test-mmap.c + $(CC) $(CFLAGS) -Wall -static -O2 $(LDFLAGS) -o $@ $< + -./test-mmap + -$(QEMU) ./test-mmap + -$(QEMU) -p 8192 ./test-mmap 8192 + -$(QEMU) -p 16384 ./test-mmap 16384 + -$(QEMU) -p 32768 ./test-mmap 32768 + # generic Linux and CPU test linux-test: linux-test.c $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lm |
