File: run-compare-scan.sh

package info (click to toggle)
libfyaml 0.9-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,684 kB
  • sloc: ansic: 51,709; asm: 8,692; sh: 1,185; makefile: 545; python: 24
file content (12 lines) | stat: -rwxr-xr-x 325 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
# VALGRIND=""
VALGRIND="valgrind"
BN=`basename $1`
ON="output/$BN"
mkdir -p output
a="$ON.libyaml.scan"
b="$ON.libfyaml.scan"
./src/libfyaml-parser -mlibyaml-scan "$1" >"$a"
./src/libfyaml-parser -mscan "$1" >"$b"
diff -u "$a" "$b" | tee "$ON.scan.diff"
./src/libfyaml-parser -mscan -d0 "$1" >"$ON.scan.log" 2>&1