blob: 9c5c7222efe7fdb5635cb79d624116b8ff85b9e3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
set -e
if [ -z "$SOURCE_DIRECTORY" ]; then
SOURCE_DIRECTORY="."
fi
TEST_SUBSET=pass $VALGRIND ./vespalib_testkit-subset_test_app 2> out.txt
TEST_SUBSET="extra\.cpp:.*pass.*" $VALGRIND ./vespalib_testkit-subset_test_app 2>> out.txt
cat out.txt | grep "\.cpp: " > out.relpath.txt
cmp -s out.relpath.txt $SOURCE_DIRECTORY/out.ref.2.txt && exit 0
diff -u out.relpath.txt $SOURCE_DIRECTORY/out.ref.txt
|