Skip to content
Snippets Groups Projects
Commit d88c53b8 authored by Ture Pålsson's avatar Ture Pålsson
Browse files

Add helper script for 'git bisect'

parent 0ecc9de9
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,6 @@ Makefile
config.log
config.status
Doxyfile
bistest
config.h
examples/test_osm1
examples/test_osm2
......
bistest 0 → 100755
#! /bin/bash
say() {
echo -e '\033[1;34m'${1}'\033[0m'
}
exec 2>bistest.out
say 'Compiling readosm'
make install CFLAGS="-g -O0" || exit 1
cd ../test
rm *.o
say 'Compiling test program'
make || exit 2
say 'Running test program'
export DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib
./test $HOME/Documents/Kartor/OSM/sweden.osm.pbf || exit 3
unset DYLD_INSERT_LIBRARIES
say 'OK'
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment