test - Add various 900,000 process tests (2)
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 14 Aug 2017 21:13:41 +0000 (14:13 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 14 Aug 2017 21:13:41 +0000 (14:13 -0700)
* Connect tests to Makefile

test/sysperf/Makefile

index 7ebf953..d5bd58b 100644 (file)
@@ -10,7 +10,8 @@ TARGETS=/tmp/sc1 /tmp/sc2 /tmp/sc3 /tmp/sc4 /tmp/sc5 /tmp/sc6 /tmp/sc7 \
        /tmp/exec1 /tmp/exec2 \
        /tmp/mem1 /tmp/mem2 \
        /tmp/cld1 \
-       /tmp/rr1
+       /tmp/rr1 \
+       /tmp/loop900k /tmp/pipe900k /tmp/sleep900k
 
 .if defined(NO_OPTIMIZE)
 COPTFLAGS= -O
@@ -129,5 +130,14 @@ all:       $(TARGETS)
 /tmp/rr1: randread.c blib.c
        $(CC) $(CFLAGS) randread.c blib.c -o /tmp/rr1
 
+/tmp/loop900k: loop900k.c
+       $(CC) $(CFLAGS) loop900k.c -o /tmp/loop900k -static
+
+/tmp/pipe900k: pipe900k.c
+       $(CC) $(CFLAGS) pipe900k.c -o /tmp/pipe900k -static
+
+/tmp/sleep900k: sleep900k.c
+       $(CC) $(CFLAGS) sleep900k.c -o /tmp/sleep900k -static
+
 clean:
        rm -f $(TARGETS)