mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Merge pull request #601 from CJentzsch/newTests
Added recursive create test + lesser output for safe VM exceptions
This commit is contained in:
		
						commit
						994fe6a80e
					
				| @ -130,6 +130,11 @@ BOOST_AUTO_TEST_CASE(stLogTests) | |||||||
| 	dev::test::executeTests("stLogTests", "/StateTests", dev::test::doStateTests); | 	dev::test::executeTests("stLogTests", "/StateTests", dev::test::doStateTests); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | BOOST_AUTO_TEST_CASE(stRecursiveCreate) | ||||||
|  | { | ||||||
|  | 	dev::test::executeTests("stRecursiveCreate", "/StateTests", dev::test::doStateTests); | ||||||
|  | } | ||||||
|  | 
 | ||||||
| BOOST_AUTO_TEST_CASE(stSpecialTest) | BOOST_AUTO_TEST_CASE(stSpecialTest) | ||||||
| { | { | ||||||
| 	dev::test::executeTests("stSpecialTest", "/StateTests", dev::test::doStateTests); | 	dev::test::executeTests("stSpecialTest", "/StateTests", dev::test::doStateTests); | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								vm.cpp
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								vm.cpp
									
									
									
									
									
								
							| @ -311,7 +311,7 @@ void doVMTests(json_spirit::mValue& v, bool _fillin) | |||||||
| 		} | 		} | ||||||
| 		catch (VMException const& _e) | 		catch (VMException const& _e) | ||||||
| 		{ | 		{ | ||||||
| 			cnote << "VM did throw an exception: " << diagnostic_information(_e); | 			cnote << "Safe VM Exception"; | ||||||
| 			vmExceptionOccured = true; | 			vmExceptionOccured = true; | ||||||
| 		} | 		} | ||||||
| 		catch (Exception const& _e) | 		catch (Exception const& _e) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user