diff options
author | Tristan Gingold | 2013-12-27 04:11:04 +0100 |
---|---|---|
committer | Tristan Gingold | 2013-12-27 04:11:04 +0100 |
commit | 620458ed156b7a1d779119dc916e4c1f357ec71e (patch) | |
tree | cbd293f8d420e82621b90fe60af5939d6dc41279 /testsuite/vests/vhdl-93/clifton-labs | |
parent | e673d2bc2f74ef6d63e5ae90cc0ccfff04e688ef (diff) | |
download | ghdl-620458ed156b7a1d779119dc916e4c1f357ec71e.tar.gz ghdl-620458ed156b7a1d779119dc916e4c1f357ec71e.tar.bz2 ghdl-620458ed156b7a1d779119dc916e4c1f357ec71e.zip |
vests testsuite: reorder some tests for file io.
Add some ENTITY option.
Fix some tests.
Diffstat (limited to 'testsuite/vests/vhdl-93/clifton-labs')
6 files changed, 9 insertions, 6 deletions
diff --git a/testsuite/vests/vhdl-93/clifton-labs/compliant/compliant1.exp b/testsuite/vests/vhdl-93/clifton-labs/compliant/compliant1.exp index 74d6a4e..3f7e004 100644 --- a/testsuite/vests/vhdl-93/clifton-labs/compliant/compliant1.exp +++ b/testsuite/vests/vhdl-93/clifton-labs/compliant/compliant1.exp @@ -77,8 +77,11 @@ run_compliant_test functional/std_standard/simple-now-test.vhdl #run_compliant_test functional/subtypes/modified-character-subtype.vhdl #run_compliant_test functional/subtypes/modified-integer-subtype.vhdl #run_compliant_test functional/subtypes/simple-enumeration-subtype.vhdl +run_compliant_test functional/textio/write/character_array_write.vhd run_compliant_test functional/textio/read/character_array_read.vhdl +run_compliant_test functional/textio/write/character_write.vhd run_compliant_test functional/textio/read/character_read.vhdl +run_compliant_test functional/textio/write/simple-write.vhdl run_compliant_test functional/textio/read/simple-read.vhdl run_compliant_test functional/textio/write/fopen_test_1.vhdl run_compliant_test functional/textio/write/fopen_test_2.vhdl diff --git a/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/read/character_array_read.vhdl b/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/read/character_array_read.vhdl index 1358d40..e4933ad 100644 --- a/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/read/character_array_read.vhdl +++ b/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/read/character_array_read.vhdl @@ -29,7 +29,7 @@ architecture test0 of character_array_read is signal k : integer := 0; begin doit: process - file filein : character_array_file open read_mode is "character_array_read.in"; + file filein : character_array_file open read_mode is "character_array.file"; variable v : character_array(0 to 3); variable len : natural; begin diff --git a/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/read/character_read.vhdl b/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/read/character_read.vhdl index 7acb135..7644b1e 100644 --- a/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/read/character_read.vhdl +++ b/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/read/character_read.vhdl @@ -28,7 +28,7 @@ architecture test0 of character_read is signal k : integer := 0; begin doit: process - file filein : character_file open read_mode is "character_read.in"; + file filein : character_file open read_mode is "character.file"; variable v : character; begin assert(endfile(filein) = false) diff --git a/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/read/simple-read.vhdl b/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/read/simple-read.vhdl index 0ce2968..452c0b7 100644 --- a/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/read/simple-read.vhdl +++ b/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/read/simple-read.vhdl @@ -29,7 +29,7 @@ architecture only of simple_read is type integer_file is file of integer; begin -- only doit: process - file infile : integer_file open read_mode is "simple-read.in"; + file infile : integer_file open read_mode is "simple.file"; variable v : integer; begin -- process diff --git a/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/write/character_array_write.vhd b/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/write/character_array_write.vhd index 1774062..b98fa52 100644 --- a/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/write/character_array_write.vhd +++ b/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/write/character_array_write.vhd @@ -28,7 +28,7 @@ architecture test0 of character_array_write is type character_array_file is file of character_array; begin doit: process - file fileout : character_array_file open write_mode is "character_array_write.out"; + file fileout : character_array_file open write_mode is "character_array.file"; begin write(fileout,('1','a','$','+')); diff --git a/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/write/character_write.vhd b/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/write/character_write.vhd index fab261a..aebdf48 100644 --- a/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/write/character_write.vhd +++ b/testsuite/vests/vhdl-93/clifton-labs/compliant/functional/textio/write/character_write.vhd @@ -27,10 +27,10 @@ architecture test0 of character_write is type character_file is file of character; begin doit: process - file fileout : character_file open write_mode is "character_write.out"; + file fileout : character_file open write_mode is "character.file"; begin write(fileout, '1'); - write(fileout, 'a'); + write(fileout, 'A'); write(fileout, '$'); write(fileout, '+'); |