8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 18:43:03 +01:00
firebird-mirror/src/common/classes/test.sh
2004-08-10 04:10:47 +00:00

15 lines
549 B
Bash
Executable File

# Test for library integrity
# this should be compiled with optimization turned off and with NDEBUG undefined
ulimit -s unlimited
ulimit -c unlimited
#g++ -ggdb -Wall -I../../include -DTESTING_ONLY -DUSE_VALGRIND class_test.cpp alloc.cpp ../fb_exception.cpp 2> aa
#valgrind --tool=memcheck ./a.out
#export LD_LIBRARY_PATH=/usr/local/lib64
# Chose the best algorithm parameters for the target architecture
#/usr/local/bin/
g++ -O3 -DHAVE_STDLIB_H -DNDEBUG -DTESTING_ONLY \
-I../../include class_perf.cpp alloc.cpp ../fb_exception.cpp 2> aa
./a.out