Debian Codegraph @

test/run_valgrind.sh

raw symbols SCIP
1 #!/usr/bin/env bash
2
3 # Simple test script adapted from Matt Dillon's 2.16 release.
4 # It's harder to do this in a Makefile, so let's use a script.
5
6 for i in *.asm
7 do
8 NAME=`basename $i .asm`
9 echo "----- $NAME -----"
10 valgrind -v --tool=memcheck --leak-check=full --error-exitcode=10 --show-reachable=yes --log-file=$NAME.valgrind ../bin/dasm $i -f1 -o$NAME.bin -DINEEPROM
11 echo "valgrind returned $?"
12 done