--| 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 exclude-any-add-back
test_description A system compiles correctly without a precompiled cluster. Then file "any.e" is excluded from the kernel cluster. After the VD23 errors are reported, the exclude clause is removed and compilation is resumed
if DOTNET define EXCLUDE "ise_runtime.e"
if DOTNET define EXCLUDE_SYSTEM_STRING "system_string.e"
if not DOTNET define EXCLUDE ""
if not DOTNET define EXCLUDE_SYSTEM_STRING ""
copy_sub Ace $TEST Ace
copy_raw test.e $CLUSTER test.e
compile_melted
compile_result ok
if DOTNET define EXCLUDE "any.eise_runtime.e"
if not DOTNET define EXCLUDE "any.e"
copy_sub Ace $TEST Ace
compile_melted
compile_result validity_error NONE VD23
if DOTNET define EXCLUDE "ise_runtime.e"
if not DOTNET define EXCLUDE ""
copy_sub Ace $TEST Ace
resume_compile
compile_result ok
test_end