Automated testing.
authorMilind Bhandarkar <milind@cs.uiuc.edu>
Sun, 24 Dec 2000 09:23:40 +0000 (09:23 +0000)
committerMilind Bhandarkar <milind@cs.uiuc.edu>
Sun, 24 Dec 2000 09:23:40 +0000 (09:23 +0000)
examples/converse/pingpong/Makefile
tests/converse/megacon/Makefile

index 88ee63f2bfe2d50e62a381e992a5bc2f656990b0..f1ea0ccef1e8df039ca385b816eb2cfb7e431265 100644 (file)
@@ -3,6 +3,9 @@ CHARMC=../../../bin/charmc $(OPTS)
 pingpong: pingpong.C
        $(CHARMC) -language converse++ -o pingpong pingpong.C
 
+test: pingpong
+       ./charmrun pingpong +p2
+
 clean:
        rm -f core *.cpm.h
        rm -f TAGS *.o
index 42c5881dd0c5093418a083bbdc0ea527b0460f16..52fed3ff9b4be7ff481ed877167cdbd095040652 100644 (file)
@@ -7,6 +7,9 @@ pgm: $(OBJS) link
 link:
        $(CHARMC) -o pgm $(OBJS) -language converse++
 
+test: pgm
+       ./charmrun pgm +p4 -deadlock
+
 megacon.o: megacon.c
        $(CHARMC) -gen-cpm megacon.c
        $(CHARMC) megacon.c