2002-12-14 22:43:18 +01:00
|
|
|
# Test for library integrity
|
|
|
|
# this should be compiled with optimization turned off and with NDEBUG undefined
|
2004-03-26 00:12:50 +01:00
|
|
|
ulimit -s unlimited
|
|
|
|
ulimit -c unlimited
|
2004-08-10 06:10:47 +02:00
|
|
|
#g++ -ggdb -Wall -I../../include -DTESTING_ONLY -DUSE_VALGRIND class_test.cpp alloc.cpp ../fb_exception.cpp 2> aa
|
|
|
|
#valgrind --tool=memcheck ./a.out
|
2002-12-14 22:43:18 +01:00
|
|
|
|
2004-06-14 01:49:28 +02:00
|
|
|
#export LD_LIBRARY_PATH=/usr/local/lib64
|
|
|
|
|
2002-12-14 22:43:18 +01:00
|
|
|
# Chose the best algorithm parameters for the target architecture
|
2004-06-14 01:49:28 +02:00
|
|
|
#/usr/local/bin/
|
2004-08-10 06:10:47 +02:00
|
|
|
g++ -O3 -DHAVE_STDLIB_H -DNDEBUG -DTESTING_ONLY \
|
|
|
|
-I../../include class_perf.cpp alloc.cpp ../fb_exception.cpp 2> aa
|
|
|
|
./a.out
|