--| 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 name-exists-invariant
test_description The "Hello weasel" program compiles and executes fine with `assertion (all)' and no precompiled cluster. Then file "string_8.e" is excluded from the kernel cluster. After the VD23 errors are reported, the exclude clause is removed and compilation completes. System is re-executed.
if DOTNET define DOTNET_EXCLUDE "ise_runtime.esystem_string.e"
if not DOTNET define DOTNET_EXCLUDE ""
define EXCLUDE ""
copy_sub Ace $TEST Ace
copy_raw test.e $CLUSTER test.e
copy_raw ise_exception_manager.e $CLUSTER ise_exception_manager.e
copy_raw exception.e $CLUSTER exception.e
compile_frozen
compile_result ok
c_compile_work
c_compile_result ok
execute_work NONE exec_output1
execute_result ok
compare exec_output1 output1
define EXCLUDE "string_8.e"
copy_sub Ace $TEST Ace
compile_melted
compile_result validity_error NONE VD23
define EXCLUDE ""
copy_sub Ace $TEST Ace
resume_compile
compile_result ok
execute_work NONE exec_output2
execute_result ok
compare exec_output2 output1
test_end