nostrdb

an unfairly fast embedded nostr database backed by lmdb
git clone git://jb55.com/nostrdb
Log | Files | Refs | Submodules | README | LICENSE

test.sh (346B)


      1 #!/bin/sh
      2 
      3 set -e
      4 
      5 cd $(dirname $0)
      6 mkdir -p build
      7 
      8 CC=cc
      9 
     10 $CC -g -Wall -Wextra $INCLUDE -I.. grisu3_test.c -lm -o build/grisu3_test_d
     11 $CC -DNDEBUG -Wall -Wextra -O2 $INCLUDE -I.. grisu3_test.c -lm -o build/grisu3_test
     12 echo "DEBUG:"
     13 build/grisu3_test_d
     14 echo "OPTIMIZED:"
     15 build/grisu3_test
     16 
     17 echo "running double conversion tests"
     18 ./test_dblcnv.sh