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

18 lines
660 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 -DDEBUG_GDS_ALLOC class_test.cpp alloc.cpp ../fb_exception.cpp 2> aa
#./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
#g++ -ggdb -I../../include class_perf.cpp alloc.cpp \
#../memory/memory_pool.cpp ../fb_exception.cpp ../memory/allocators.cpp 2> aa
./a.out