aboutsummaryrefslogtreecommitdiff
path: root/tests/scope/test.sh
blob: 5bbf0d885778ad34006d8ce62a2cf732877b72a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# In-tree.
#
valgrind b amalgamation/l1/ 2>/dev/null | diff -u test-1.out -

# Out-of-tree.
#
rm -rf a-out/
b 'configure(amalgamation/@a-out/)' 2>/dev/null
valgrind b amalgamation/l1/@a-out/l1/ 2>/dev/null | diff -u test-2.out -
rm -rf a-out/