diff --git a/test/cmdlineTests.sh b/test/cmdlineTests.sh index 389aed579..37c319e7d 100755 --- a/test/cmdlineTests.sh +++ b/test/cmdlineTests.sh @@ -127,6 +127,8 @@ function test_solc_behaviour() fi # Remove path to cpp file sed -i -e 's/^\(Exception while assembling:\).*/\1/' "$stderr_path" + # Remove exception class name. + sed -i -e 's/^\(Dynamic exception type:\).*/\1/' "$stderr_path" if [[ $exitCode -ne "$exit_code_expected" ]] then diff --git a/test/cmdlineTests/yul_stack_opt_disabled/err b/test/cmdlineTests/yul_stack_opt_disabled/err index 6959bbf41..1093ea3ae 100644 --- a/test/cmdlineTests/yul_stack_opt_disabled/err +++ b/test/cmdlineTests/yul_stack_opt_disabled/err @@ -1,5 +1,5 @@ Exception while assembling: -Dynamic exception type: boost::exception_detail::clone_impl +Dynamic exception type: std::exception::what: Variable a1 is 17 slot(s) too deep inside the stack. [dev::tag_comment*] = Variable a1 is 17 slot(s) too deep inside the stack.