aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/multi-native-selected-configs/test.list')
-rw-r--r--tests/multi-native-selected-configs/test.list8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/multi-native-selected-configs/test.list b/tests/multi-native-selected-configs/test.list
index 8e2a891..7c351a1 100644
--- a/tests/multi-native-selected-configs/test.list
+++ b/tests/multi-native-selected-configs/test.list
@@ -1,3 +1,9 @@
#!/bin/bash
gcc-config -C -l "$@"
-[[ $? -eq 0 ]]
+[[ $? -eq 0 ]] || exit 1
+
+(
+cd "${ROOT}"
+ROOT=. gcc-config -C -l "$@"
+[[ $? -eq 0 ]] || exit 1
+)