mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Merge pull request #12456 from nishant-sachdeva/generate_warning_if_isoltest_gas_cost_expectations_not_enforced
added warning if isoltest gas-cost-expectations are not enforced
This commit is contained in:
		
						commit
						6849774bd7
					
				| @ -191,6 +191,9 @@ test_suite* init_unit_test_suite( int /*argc*/, char* /*argv*/[] ) | ||||
| 	if (solidity::test::CommonOptions::get().disableSemanticTests) | ||||
| 		cout << endl << "--- SKIPPING ALL SEMANTICS TESTS ---" << endl << endl; | ||||
| 
 | ||||
| 	if (!solidity::test::CommonOptions::get().enforceGasTest) | ||||
| 		cout << endl << "WARNING :: Gas Cost Expectations are not being enforced" << endl << endl; | ||||
| 
 | ||||
| 	// Include the interactive tests in the automatic tests as well
 | ||||
| 	for (auto const& ts: g_interactiveTestsuites) | ||||
| 	{ | ||||
|  | ||||
| @ -437,6 +437,9 @@ int main(int argc, char const *argv[]) | ||||
| 		if (options.disableSemanticTests) | ||||
| 			cout << endl << "--- SKIPPING ALL SEMANTICS TESTS ---" << endl << endl; | ||||
| 
 | ||||
| 		if (!options.enforceGasTest) | ||||
| 			cout << "WARNING :: Gas Cost Expectations are not being enforced" << endl << endl; | ||||
| 
 | ||||
| 		TestStats global_stats{0, 0}; | ||||
| 		cout << "Running tests..." << endl << endl; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user