File: test.20.exp

package info (click to toggle)
javadap 2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 26,104 kB
  • sloc: java: 20,509; exp: 2,333; xml: 518; yacc: 222; csh: 136; makefile: 107; sh: 33; awk: 23
file content (51 lines) | stat: -rw-r--r-- 1,154 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#
# expect/tcl code to test the dds parser and scanner
# jhrg
#
# $Id: test.20.exp 15901 2007-02-28 23:57:28Z jimg $

global comp_output		# contains output from dds-test_start
global verbose			# this and srcdir are set by runtest.exp
global srcdir

# The variable `test_name' is the name of the das input file for this test.

set test_name test.20

# The variable `test_out' is a string that contains the text that should be
# stored in comp_output by das-test_start. The two strings should match
# exactly.

set test_out "DDS past semantic check
DDS past full semantic check
Dataset {
    Int32 a;
    Grid {
     ARRAY:
        Byte Image%23data\[size*10 = 512\];
     MAPS:
        String colors\[size*10 = 512\];
    } huh;
} test.20;"

dds-test_start p $srcdir/$test_name

if ![string compare $test_out $comp_output] { # check comp_output
    pass "$test_name"
} else {
    fail "$test_name"
}

# $Log: test.20.exp,v $
# Revision 1.1  2003/08/11 20:50:10  ndp
# Initial revision
#
# Revision 1.1  2002/06/11 00:58:01  jimg
# Added.
#
# Revision 1.1.2.2  2002/06/11 00:39:01  jimg
# Fixed...
#
# Revision 1.1.2.1  2002/06/11 00:38:06  jimg
# Added
#