diff options
Diffstat (limited to 'libstdc++-v3/testsuite/testsuite_abi.cc')
-rw-r--r-- | libstdc++-v3/testsuite/testsuite_abi.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/testsuite_abi.cc b/libstdc++-v3/testsuite/testsuite_abi.cc index 54e995099ee..7da7ff52c69 100644 --- a/libstdc++-v3/testsuite/testsuite_abi.cc +++ b/libstdc++-v3/testsuite/testsuite_abi.cc @@ -262,7 +262,7 @@ get_symbol(const string& mangled, const symbols& s) { ostringstream os; os << "get_symbol failed for symbol " << mangled; - throw symbol_error(os.str()); + __throw_exception_again symbol_error(os.str()); } } @@ -276,10 +276,10 @@ examine_symbol(const char* name, const char* file) sym.print(); } catch(...) - { throw; } + { __throw_exception_again; } } -void +int compare_symbols(const char* baseline_file, const char* test_file, bool verbose) { @@ -391,6 +391,8 @@ compare_symbols(const char* baseline_file, const char* test_file, cout << "# of incompatible symbols:\t " << incompatible.size() << endl; cout << endl; cout << "using: " << baseline_file << endl; + + return !(missing_names.size() || incompatible.size()); } @@ -419,7 +421,7 @@ create_symbols(const char* file) { ostringstream os; os << "create_symbols failed for file " << file; - throw runtime_error(os.str()); + __throw_exception_again runtime_error(os.str()); } return s; } |