Fix MacOS commandline tests.

This commit is contained in:
chriseth 2019-03-21 17:17:42 +01:00
parent 8c388592be
commit 2de5554e4a
2 changed files with 3 additions and 1 deletions

View File

@ -127,6 +127,8 @@ function test_solc_behaviour()
fi fi
# Remove path to cpp file # Remove path to cpp file
sed -i -e 's/^\(Exception while assembling:\).*/\1/' "$stderr_path" 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" ]] if [[ $exitCode -ne "$exit_code_expected" ]]
then then

View File

@ -1,5 +1,5 @@
Exception while assembling: Exception while assembling:
Dynamic exception type: boost::exception_detail::clone_impl<yul::StackTooDeepError> Dynamic exception type:
std::exception::what: Variable a1 is 17 slot(s) too deep inside the stack. 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. [dev::tag_comment*] = Variable a1 is 17 slot(s) too deep inside the stack.