head	1.31;
access;
symbols;
locks
	strick:1.31; strict;
comment	@# @;


1.31
date	2005.05.18.04.54.53;	author strick;	state Exp;
branches;
next	1.30;

1.30
date	2005.05.18.04.47.47;	author strick;	state Exp;
branches;
next	1.29;

1.29
date	2005.05.17.07.31.01;	author strick;	state Exp;
branches;
next	1.28;

1.28
date	2005.05.15.06.08.03;	author strick;	state Exp;
branches;
next	1.27;

1.27
date	2005.05.14.17.37.24;	author strick;	state Exp;
branches;
next	1.26;

1.26
date	2005.05.13.08.25.33;	author strick;	state Exp;
branches;
next	1.25;

1.25
date	2005.05.13.08.21.39;	author strick;	state Exp;
branches;
next	1.24;

1.24
date	2005.05.13.08.19.13;	author strick;	state Exp;
branches;
next	1.23;

1.23
date	2005.05.13.08.06.23;	author strick;	state Exp;
branches;
next	1.22;

1.22
date	2005.05.13.06.15.33;	author strick;	state Exp;
branches;
next	1.21;

1.21
date	2005.05.12.05.19.00;	author strick;	state Exp;
branches;
next	1.20;

1.20
date	2005.05.11.06.29.38;	author strick;	state Exp;
branches;
next	1.19;

1.19
date	2005.05.09.02.24.00;	author strick;	state Exp;
branches;
next	1.18;

1.18
date	2005.05.09.02.23.08;	author strick;	state Exp;
branches;
next	1.17;

1.17
date	2005.05.09.02.14.43;	author strick;	state Exp;
branches;
next	1.16;

1.16
date	2005.05.09.02.12.20;	author strick;	state Exp;
branches;
next	1.15;

1.15
date	2005.05.09.02.10.07;	author strick;	state Exp;
branches;
next	1.14;

1.14
date	2005.05.09.02.08.14;	author strick;	state Exp;
branches;
next	1.13;

1.13
date	2005.04.21.15.05.41;	author strick;	state Exp;
branches;
next	1.12;

1.12
date	2005.04.19.15.16.48;	author strick;	state Exp;
branches;
next	1.11;

1.11
date	2005.04.19.15.04.10;	author strick;	state Exp;
branches;
next	1.10;

1.10
date	2005.04.19.15.03.04;	author strick;	state Exp;
branches;
next	1.9;

1.9
date	2005.04.19.15.01.55;	author strick;	state Exp;
branches;
next	1.8;

1.8
date	2005.04.19.14.59.36;	author strick;	state Exp;
branches;
next	1.7;

1.7
date	2005.04.19.04.58.53;	author strick;	state Exp;
branches;
next	1.6;

1.6
date	2005.04.19.04.39.30;	author strick;	state Exp;
branches;
next	1.5;

1.5
date	2005.04.19.04.25.57;	author strick;	state Exp;
branches;
next	1.4;

1.4
date	2005.04.19.04.17.10;	author strick;	state Exp;
branches;
next	1.3;

1.3
date	2005.04.19.02.21.28;	author strick;	state Exp;
branches;
next	1.2;

1.2
date	2005.04.19.02.08.07;	author strick;	state Exp;
branches;
next	1.1;

1.1
date	2005.04.19.01.57.00;	author strick;	state Exp;
branches;
next	;


desc
@@


1.31
log
@/dev/null
@
text
@#/bin/sh

echo ""
echo ""
echo =========================================================================================================
echo =========================================================================================================
echo ""
echo ""

NEWLINE='
'

(
 echo "extern void Say(const char*);"
 echo "extern void memcheck();"
 echo "void RunAllTests(void) {"
 for x in `
    cat [a-z]*.cc |
    tr -c 'A-Za-z0-9_' "$NEWLINE" | grep "^Test_" | sort -u `
 do
    echo "extern void  $x (void);"
    echo "    Say( \"... $x ...\" );"
    echo "    $x ();"
    echo "    memcheck();"
 done
 echo "}"
) > _RunAllTests.cc

 set -x
 
 if test -z "$OPT"
 then 
    g++ -c -g -fno-rtti -Wall -D"DEBUG" *.cc &&
    g++  -g -Wall *.o 
 else 
    g++ -c -g -fno-rtti -Wall $OPT -D"NO_BAD_TESTS" -U"MAGIC" *.cc &&
    g++  -static -g -Wall *.o 
 fi &&

 
 # EF_PROTECT_BELOW=1 ./a.out && 
if [ -f /usr/lib/libnjamd.so ]
then
 LD_PRELOAD=libnjamd.so ./a.out -t < 1.tri 
else
 ./a.out -t < 1.tri 
fi &&
 
 ci+ *.cc *.h *.tri mk* 
@


1.30
log
@/dev/null
@
text
@d32 6
a37 2
 then g++ -c -g -fno-rtti -Wall -D"DEBUG" *.cc
 else g++ -c -g -fno-rtti -Wall $OPT -D"NO_BAD_TESTS" -U"MAGIC" *.cc
a39 3
#gcc -static -g -Wall *.o &&
g++  -g -Wall *.o  &&
#g++ -static  -g -Wall *.o  &&
@


1.29
log
@/dev/null
@
text
@d33 1
a33 1
 else g++ -c -g -fno-rtti -Wall $OPT -D"NO_BAD_TESTS" *.cc
@


1.28
log
@/dev/null
@
text
@d37 2
a38 2
#g++  -g -Wall *.o  &&
g++ -static  -g -Wall *.o  &&
d41 1
a41 1
if false && [ -f /usr/lib/libnjamd.so ]
@


1.27
log
@/dev/null
@
text
@d15 1
d24 1
d36 3
a38 2
# gcc -static -g -Wall *.o &&
g++  -g -Wall *.o  &&
d41 1
a41 1
if [ -f /usr/lib/libnjamd.so ]
@


1.26
log
@/dev/null
@
text
@d38 6
a43 1
 LD_PRELOAD=libnjamd.so ./a.out -t < 1.tri && 
@


1.25
log
@/dev/null
@
text
@d38 1
a38 1
 LD_PRELOAD=libnjamd.so ./a.out -t < a.tri && 
@


1.24
log
@/dev/null
@
text
@d35 1
a35 3
# g++ -static -g -Wall *.o /usr/lib/libefence.a &&
# g++  -g -Wall *.o /usr/lib/libefence.a &&
g++ -static  -g -Wall *.o  &&
@


1.23
log
@/dev/null
@
text
@d37 1
a37 1
g++  -g -Wall *.o  &&
@


1.22
log
@/dev/null
@
text
@d40 1
a40 1
 LD_PRELOAD=libnjamd.so ./a.out < a.tri && 
@


1.21
log
@/dev/null
@
text
@d40 1
a40 1
 LD_PRELOAD=libnjamd.so ./a.out && 
d42 1
a42 1
 ci+ *.cc *.h mk*
@


1.20
log
@/dev/null
@
text
@d34 4
a37 2
 #gcc -static -g -Wall *.o &&
 g++ -static -g -Wall *.o &&
d39 2
a40 1
 ./a.out && 
@


1.19
log
@/dev/null
@
text
@d34 2
a35 1
 gcc -static -g -Wall *.o &&
@


1.18
log
@/dev/null
@
text
@d36 1
a36 1
 time ./a.out && 
@


1.17
log
@/dev/null
@
text
@d25 1
a25 1
 ) > _RunAllTests.cc
@


1.16
log
@/dev/null
@
text
@d36 1
a36 1
 ./a.out && 
@


1.15
log
@/dev/null
@
text
@d31 1
a31 1
 else g++ -c -g -fno-rtti -Wall $OPT *.cc
@


1.14
log
@/dev/null
@
text
@d31 1
a31 1
 else g++ -c -g -fno-rtti -Wall -O3 *.cc
@


1.13
log
@/dev/null
@
text
@d29 5
a33 1
 g++ -c -g -fno-rtti -Wall -D"DEBUG" *.cc && 
@


1.12
log
@/dev/null
@
text
@d34 1
a34 1
 ci+ *.cc *.h mk
@


1.11
log
@/dev/null
@
text
@d1 11
a11 1
 clear && 
d14 1
d17 2
a18 3
    cat [a-z]*.cc | tee /dev/tty |
    tr -c 'A-Za-z0-9_' '
' | grep "^Test_" | tee /dev/tty | sort -u `
d21 1
d26 2
@


1.10
log
@/dev/null
@
text
@d8 1
a8 1
 ' | grep "^Test_" | tee /dev/tty | sort -u `
@


1.9
log
@/dev/null
@
text
@d6 1
a6 1
    cat [a-z]*.cc |
@


1.8
log
@/dev/null
@
text
@d8 1
a8 1
 ' | grep "^Test_" | sort -u `
@


1.7
log
@/dev/null
@
text
@d2 13
@


1.6
log
@/dev/null
@
text
@d3 2
a4 2
 g++ -c -g -fno-rtti -D"DEBUG" *.cc && 
 gcc -static -g *.o &&
@


1.5
log
@/dev/null
@
text
@d1 8
a8 1
 clear && g++ -static -g -fno-rtti -D"DEBUG" *.cc && ./a.out && ci+ *.cc *.h mk
@


1.4
log
@/dev/null
@
text
@d1 1
a1 1
 clear && g++ -g -fno-rtti -D"DEBUG" *.cc && ./a.out && ci+ *.cc *.h mk
@


1.3
log
@/dev/null
@
text
@d1 1
a1 1
 clear && g++ -D"DEBUG" *.cc && ./a.out && ci+ *.cc *.h mk
@


1.2
log
@/dev/null
@
text
@d1 1
a1 1
 clear && g++ *.cc && ./a.out && ci+ *.cc *.h mk
@


1.1
log
@/dev/null
@
text
@d1 1
a1 1
 clear && g++ *.cc && ./a.out 
@
