diff --git a/Unit_testing/mark_schema.php b/Unit_testing/mark_schema.php index 9e4faa7..b8df626 100644 --- a/Unit_testing/mark_schema.php +++ b/Unit_testing/mark_schema.php @@ -1,5 +1,17 @@ 1) +{ + define('ALWAYS_RUN_STRUCTURE_TESTS', $argv[1] === 'structure' || $argv[1] === 'both'); + define('ALWAYS_RUN_DATA_TESTS', $argv[1] === 'data' || $argv[1] === 'both'); +} +else +{ + define('ALWAYS_RUN_STRUCTURE_TESTS', true); + define('ALWAYS_RUN_DATA_TESTS', false); +} + // Define things that need to be globally accessible as constants. define( 'ORACLE_USERNAME', 'stani797' ); define( 'ORACLE_PASSWORD', 'b1ggles' );