aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/abi_check.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/abi_check.cc')
-rw-r--r--libstdc++-v3/testsuite/abi_check.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/abi_check.cc b/libstdc++-v3/testsuite/abi_check.cc
index e0991e7a4da..028db89c93e 100644
--- a/libstdc++-v3/testsuite/abi_check.cc
+++ b/libstdc++-v3/testsuite/abi_check.cc
@@ -77,7 +77,8 @@ main(int argc, char** argv)
cerr << "Cannot read baseline file " << baseline_file << endl;
exit(1);
}
- compare_symbols(baseline_file, test_file, verbose);
+ if (!compare_symbols(baseline_file, test_file, verbose))
+ exit (1);
}
if (argv1 == "--examine")