--| Copyright (c) 1993-2006 University of Southern California and contributors.
--| All rights reserved.
--| Your use of this work is governed under the terms of the GNU General
--| Public License version 2.
-- This is a test control file
test_name config-override
test_description Test adding and removing an override cluster which overrides one class.
define_directory OVERRIDE_CLUSTER $TEST override
define OVERRIDE ""
copy_sub Ace $TEST Ace
copy_raw test.e $CLUSTER test.e
copy_raw a.e $CLUSTER a.e
copy_raw a_over.e $OVERRIDE_CLUSTER a_over.e
compile_frozen
compile_result ok
c_compile_work
c_compile_result ok
execute_work NONE output1
execute_result ok
compare output1 output_no
define OVERRIDE ""
copy_sub Ace $TEST Ace
compile_melted
compile_result ok
execute_work NONE output2
execute_result ok
compare output2 output_yes
define OVERRIDE ""
copy_sub Ace $TEST Ace
compile_melted
compile_result ok
execute_work NONE output3
execute_result ok
compare output3 output_no
define OVERRIDE ""
copy_sub Ace $TEST Ace
compile_melted
compile_result ok
execute_work NONE output4
execute_result ok
compare output4 output_yes
cleanup_compile
define OVERRIDE ""
copy_sub Ace $TEST Ace
copy_raw test.e $CLUSTER test.e
copy_raw a.e $CLUSTER a.e
copy_raw a_over.e $OVERRIDE_CLUSTER a_over.e
compile_frozen
compile_result ok
c_compile_work
c_compile_result ok
execute_work NONE output5
execute_result ok
compare output5 output_yes
define OVERRIDE ""
copy_sub Ace $TEST Ace
compile_melted
compile_result ok
execute_work NONE output6
execute_result ok
compare output6 output_no
define OVERRIDE ""
copy_sub Ace $TEST Ace
compile_melted
compile_result ok
execute_work NONE output7
execute_result ok
compare output7 output_yes
define OVERRIDE ""
copy_sub Ace $TEST Ace
compile_melted
compile_result ok
execute_work NONE output8
execute_result ok
compare output8 output_no
test_end