From a20cb090320282c857f71825a79f38e573ded5c3 Mon Sep 17 00:00:00 2001 From: mrdudz Date: Sat, 22 Nov 2014 16:59:31 +0100 Subject: [PATCH] added makefile and common include --- test/val/add3.c | 2 ++ test/val/cc65091020.c | 2 ++ test/val/compare5.c | 5 ++--- test/val/cq22.c | 2 ++ test/val/cq241.c | 2 ++ test/val/cq243.c | 2 ++ test/val/cq244.c | 2 ++ test/val/cq25.c | 2 ++ test/val/cq26.c | 2 ++ test/val/cq61.c | 2 ++ test/val/cq626.c | 2 ++ test/val/cq71.c | 2 ++ test/val/cq714.c | 2 ++ test/val/cq714b.c | 2 ++ test/val/cq715.c | 2 ++ test/val/cq72.c | 2 ++ test/val/cq757.c | 2 ++ test/val/cq7813.c | 2 ++ test/val/cq81.c | 2 ++ test/val/cq84.c | 2 ++ test/val/cq85.c | 2 ++ test/val/cq86.c | 2 ++ test/val/cq88.c | 2 ++ test/val/cq9.c | 2 ++ 24 files changed, 48 insertions(+), 3 deletions(-) diff --git a/test/val/add3.c b/test/val/add3.c index abbc93b47..c031f1d0f 100644 --- a/test/val/add3.c +++ b/test/val/add3.c @@ -4,6 +4,8 @@ !!LICENCE!! GPL, read COPYING.GPL */ +#include "common.h" + #include #include #include diff --git a/test/val/cc65091020.c b/test/val/cc65091020.c index 8ec11ef8d..8f62f970e 100644 --- a/test/val/cc65091020.c +++ b/test/val/cc65091020.c @@ -5,6 +5,8 @@ !!AUTHOR!! Johan Kotlinski */ +#include "common.h" + #include struct { diff --git a/test/val/compare5.c b/test/val/compare5.c index b5dd93f01..b0a9f1649 100644 --- a/test/val/compare5.c +++ b/test/val/compare5.c @@ -4,6 +4,8 @@ !!LICENCE!! GPL, read COPYING.GPL */ +#include "common.h" + #include #include @@ -291,19 +293,16 @@ void c_minus1(void) printf("(long0 != -1)\n"); if(long0 != -1) { - LOG_ERROR(1); failures++; } printf("(long0 > 0)\n"); if(long0 > 0) { - LOG_ERROR(1); failures++; } printf("(long1 < 0)\n"); if(long1 < 0) { - LOG_ERROR(1); failures++; } /* diff --git a/test/val/cq22.c b/test/val/cq22.c index 4ce40ecc0..bcd1570c8 100644 --- a/test/val/cq22.c +++ b/test/val/cq22.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ diff --git a/test/val/cq241.c b/test/val/cq241.c index d7d8ed952..76f437e0c 100644 --- a/test/val/cq241.c +++ b/test/val/cq241.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ diff --git a/test/val/cq243.c b/test/val/cq243.c index 03b08b4d2..676c73182 100644 --- a/test/val/cq243.c +++ b/test/val/cq243.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ diff --git a/test/val/cq244.c b/test/val/cq244.c index 52695bfb6..bedf51e95 100644 --- a/test/val/cq244.c +++ b/test/val/cq244.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ diff --git a/test/val/cq25.c b/test/val/cq25.c index d4a0c4a90..9cb2f61c8 100644 --- a/test/val/cq25.c +++ b/test/val/cq25.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ diff --git a/test/val/cq26.c b/test/val/cq26.c index 42527e80f..399f0a45e 100644 --- a/test/val/cq26.c +++ b/test/val/cq26.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + #ifndef CQ26_INCLUDED struct defs { int cbits; /* No. of bits per char */ diff --git a/test/val/cq61.c b/test/val/cq61.c index f40b21d61..3dcca6454 100644 --- a/test/val/cq61.c +++ b/test/val/cq61.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ diff --git a/test/val/cq626.c b/test/val/cq626.c index 7fab43f53..166d3a95b 100644 --- a/test/val/cq626.c +++ b/test/val/cq626.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ diff --git a/test/val/cq71.c b/test/val/cq71.c index 342b9809a..7bf0d9e1e 100644 --- a/test/val/cq71.c +++ b/test/val/cq71.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + /*include "cq26.c"*/ /* hardware check */ struct defs { diff --git a/test/val/cq714.c b/test/val/cq714.c index 1d36b18ab..f4c58801f 100644 --- a/test/val/cq714.c +++ b/test/val/cq714.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ diff --git a/test/val/cq714b.c b/test/val/cq714b.c index 9a09a88f0..b4908f4cb 100644 --- a/test/val/cq714b.c +++ b/test/val/cq714b.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ diff --git a/test/val/cq715.c b/test/val/cq715.c index dd829156c..fec9c6170 100644 --- a/test/val/cq715.c +++ b/test/val/cq715.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ diff --git a/test/val/cq72.c b/test/val/cq72.c index 5f60fdcad..2f956e59d 100644 --- a/test/val/cq72.c +++ b/test/val/cq72.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ diff --git a/test/val/cq757.c b/test/val/cq757.c index 7c898ca5b..60b588555 100644 --- a/test/val/cq757.c +++ b/test/val/cq757.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ diff --git a/test/val/cq7813.c b/test/val/cq7813.c index 77d34a2a6..0e743abcd 100644 --- a/test/val/cq7813.c +++ b/test/val/cq7813.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ diff --git a/test/val/cq81.c b/test/val/cq81.c index 198cbc4f6..0271cae5d 100644 --- a/test/val/cq81.c +++ b/test/val/cq81.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ diff --git a/test/val/cq84.c b/test/val/cq84.c index fcadd9af6..d37c82f29 100644 --- a/test/val/cq84.c +++ b/test/val/cq84.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ diff --git a/test/val/cq85.c b/test/val/cq85.c index 3e5ef938d..15b055b20 100644 --- a/test/val/cq85.c +++ b/test/val/cq85.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ diff --git a/test/val/cq86.c b/test/val/cq86.c index 2800307f7..9f2409e7a 100644 --- a/test/val/cq86.c +++ b/test/val/cq86.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ diff --git a/test/val/cq88.c b/test/val/cq88.c index 77bb9e88c..a15f75110 100644 --- a/test/val/cq88.c +++ b/test/val/cq88.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ diff --git a/test/val/cq9.c b/test/val/cq9.c index 698443ce6..228ac9e77 100644 --- a/test/val/cq9.c +++ b/test/val/cq9.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ -- 2.39.5