[hackers] [scc] Add test rule to the Makefile || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Wed, 2 Sep 2015 19:58:56 +0200 (CEST)

commit 0e5c97b6bbb089afe3a34ecb2ffbbaf960580d61
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Sep 2 19:58:06 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Wed Sep 2 19:58:06 2015 +0200

    Add test rule to the Makefile

diff --git a/cc1/Makefile b/cc1/Makefile
index 3042462..2548751 100644
--- a/cc1/Makefile
+++ b/cc1/Makefile
_AT_@ -12,6 +12,9 @@ $(OBJS) : cc1.h ../inc/cc.h ../inc/sizes.h
 cc1: $(OBJS) ../lib/libcc.a
         $(CC) $(LDFLAGS) $(OBJS) ../lib/libcc.a -o $_AT_
 
+test:
+ cd tests && ./chktest.sh
+
 clean:
         rm -f $(OBJS)
         rm -f cc1
Received on Wed Sep 02 2015 - 19:58:56 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 02 2015 - 20:00:19 CEST