summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2009-10-20 11:11:35 +0530
committerAmit Shah <amit.shah@redhat.com>2009-10-20 11:11:35 +0530
commit5ed4f8465c53191cbb3e1e70690d895f42af2045 (patch)
tree8ff5dfac1727126160ecc62801cbfab185e75eea /Makefile
parent5e920b11d41e6967ab804ee67b454b79335a8647 (diff)
downloadtest-virtserial-5ed4f8465c53191cbb3e1e70690d895f42af2045.tar.gz
test-virtserial-5ed4f8465c53191cbb3e1e70690d895f42af2045.tar.xz
test-virtserial-5ed4f8465c53191cbb3e1e70690d895f42af2045.zip
Automated test suite for new virtio-console functionality
This commit adds programs that run automated tests in the guest. One program (auto-virtserial.c) is to be run on the host and another (auto-virtserial-guest.c) is to be run in the guest. A README file is added that explains how to run them using the supplied script (run-test.sh). Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 740c855..cceaecc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,9 @@
-all: test-virtserial
+CFLAGS=-Wall
+
+all: test-virtserial auto-virtserial auto-virtserial-guest
$(CC) $(CFLAGS) -o $< $<.c
-debug: test-virtserial
+debug: test-virtserial auto-virtserial auto-virtserial-guest
$(CC) $(CFLAGS) -DDEBUG=1 -o $< $<.c
.PHONY: all debug