--| 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 lace-vd10-basic
test_description Violate validity constraint VD10 with a *.e file which does not contain a valid class text
define EXCLUDE ""
copy_sub Ace $TEST Ace
define CLASS "class"
copy_raw test.e $CLUSTER test.e
copy_sub test1.e $CLUSTER test1.e
compile_melted
compile_result syntax_error TEST1 8
resume_compile
compile_result validity_error NONE VD71
define CLASS "class TEST1 end"
copy_sub test1.e $CLUSTER test1.e
resume_compile
compile_result ok
define EXCLUDE ""
copy_sub Ace $TEST Ace
define CLASS "class"
copy_sub test1.e $CLUSTER test1.e
compile_melted
compile_result validity_error NONE VD71
define EXCLUDE "test1.e"
copy_sub Ace $TEST Ace
copy_raw test_rev1.e $CLUSTER test.e
resume_compile
compile_result ok
define EXCLUDE ""
copy_sub Ace $TEST Ace
define CLASS "class"
copy_sub test1.e $CLUSTER test1.e
copy_raw test.e $CLUSTER test.e
compile_melted
compile_result syntax_error TEST1 8
define CLASS "class TEST1 end"
copy_sub test1.e $CLUSTER test1.e
resume_compile
compile_result ok
define EXCLUDE ""
copy_sub Ace $TEST Ace
define CLASS "class"
copy_raw test.e $CLUSTER test.e
copy_sub test1.e $CLUSTER test1.e
compile_quick_melted
compile_result syntax_error TEST1 8
define CLASS "class TEST1 end"
copy_sub test1.e $CLUSTER test1.e
resume_compile
compile_result ok
define EXCLUDE ""
copy_sub Ace $TEST Ace
define CLASS "class"
copy_sub test1.e $CLUSTER test1.e
compile_quick_melted
compile_result syntax_error TEST1 8
define EXCLUDE "test1.e"
copy_sub Ace $TEST Ace
copy_raw test_rev1.e $CLUSTER test.e
resume_compile
compile_result ok
define EXCLUDE ""
copy_sub Ace $TEST Ace
define CLASS "class"
copy_sub test1.e $CLUSTER test1.e
copy_raw test.e $CLUSTER test.e
compile_quick_melted
compile_result syntax_error TEST1 8
define CLASS "class TEST1 end"
copy_sub test1.e $CLUSTER test1.e
resume_compile
compile_result ok
test_end