author | Rich Burridge <rich.burridge@oracle.com> |
Mon, 17 Apr 2017 14:06:08 -0700 | |
changeset 7881 | 8fc833c7cd87 |
parent 6369 | d33fb81560a8 |
permissions | -rw-r--r-- |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
1 |
cd lib; /usr/gnu/bin/make check |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
2 |
cd src; /usr/gnu/bin/make check |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
3 |
cd tests; /usr/gnu/bin/make check |
7881
8fc833c7cd87
25643736 Update gperf to version 3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6369
diff
changeset
|
4 |
testing ANSI C reserved words, all items should be found in the set |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
5 |
gperf -c -l -S1 -I -o $(SOURCE_DIR)/tests/c.gperf > cinset.c |
6369
d33fb81560a8
23209591 Upgrade gperf to 3.0.4
Rich Burridge <rich.burridge@oracle.com>
parents:
4729
diff
changeset
|
6 |
./cout -v < $(SOURCE_DIR)/tests/c.gperf | LC_ALL=C tr -d '\r' > c.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
7 |
diff $(SOURCE_DIR)/tests/c.exp c.out |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
8 |
gperf -k1,4,'$' -I $(SOURCE_DIR)/tests/ada.gperf > adainset.c |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
9 |
testing Ada reserved words, all items should be found in the set |
6369
d33fb81560a8
23209591 Upgrade gperf to 3.0.4
Rich Burridge <rich.burridge@oracle.com>
parents:
4729
diff
changeset
|
10 |
./aout -v < $(SOURCE_DIR)/tests/ada.gperf | LC_ALL=C tr -d '\r' > ada-res.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
11 |
diff $(SOURCE_DIR)/tests/ada-res.exp ada-res.out |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
12 |
gperf -D -k1,'$' -s 2 -I -o $(SOURCE_DIR)/tests/adadefs.gperf > preinset.c |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
13 |
1 input keys have identical hash values, examine output carefully... |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
14 |
testing Ada predefined words, all items should be found in the set |
6369
d33fb81560a8
23209591 Upgrade gperf to 3.0.4
Rich Burridge <rich.burridge@oracle.com>
parents:
4729
diff
changeset
|
15 |
./preout -v < $(SOURCE_DIR)/tests/adadefs.gperf | LC_ALL=C tr -d '\r' > ada-pred.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
16 |
diff $(SOURCE_DIR)/tests/ada-pred.exp ada-pred.out |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
17 |
gperf -k1,2,'$' -I -o $(SOURCE_DIR)/tests/modula3.gperf > m3inset.c |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
18 |
testing Modula3 reserved words, all items should be found in the set |
6369
d33fb81560a8
23209591 Upgrade gperf to 3.0.4
Rich Burridge <rich.burridge@oracle.com>
parents:
4729
diff
changeset
|
19 |
./m3out -v < $(SOURCE_DIR)/tests/modula3.gperf | LC_ALL=C tr -d '\r' > modula.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
20 |
diff $(SOURCE_DIR)/tests/modula.exp modula.out |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
21 |
gperf -o -S2 -I < $(SOURCE_DIR)/tests/pascal.gperf > pinset.c |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
22 |
testing Pascal reserved words, all items should be found in the set |
6369
d33fb81560a8
23209591 Upgrade gperf to 3.0.4
Rich Burridge <rich.burridge@oracle.com>
parents:
4729
diff
changeset
|
23 |
./pout -v < $(SOURCE_DIR)/tests/pascal.gperf | LC_ALL=C tr -d '\r' > pascal.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
24 |
diff $(SOURCE_DIR)/tests/pascal.exp pascal.out |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
25 |
gperf -k1 -t -I -K foreign_name < $(SOURCE_DIR)/tests/lang-utf8.gperf > lu8inset.c |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
26 |
testing UTF-8 encoded languages, all items should be found in the set |
6369
d33fb81560a8
23209591 Upgrade gperf to 3.0.4
Rich Burridge <rich.burridge@oracle.com>
parents:
4729
diff
changeset
|
27 |
sed -e '1,6d' -e 's/,.*//' < $(SOURCE_DIR)/tests/lang-utf8.gperf | ./lu8out -v | LC_ALL=C tr -d '\r' > lang-utf8.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
28 |
diff $(SOURCE_DIR)/tests/lang-utf8.exp lang-utf8.out |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
29 |
gperf -k4 -t -l -I -K foreign_name < $(SOURCE_DIR)/tests/lang-ucs2.gperf > lu2inset.c |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
30 |
testing UCS-2 encoded languages, all items should be found in the set |
6369
d33fb81560a8
23209591 Upgrade gperf to 3.0.4
Rich Burridge <rich.burridge@oracle.com>
parents:
4729
diff
changeset
|
31 |
./lu2out -v < $(SOURCE_DIR)/tests/lang-ucs2.in | LC_ALL=C tr -d '\r' > lang-ucs2.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
32 |
diff $(SOURCE_DIR)/tests/lang-ucs2.exp lang-ucs2.out |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
33 |
testing SMTP keywords, case-insensitive |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
34 |
gperf --struct-type --readonly-table --enum --global -K field_name -N header_entry --ignore-case $(SOURCE_DIR)/tests/smtp.gperf > smtp.c |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
35 |
./smtp |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
36 |
gperf --struct-type --readonly-table --enum --global -K field_name -N header_entry --ignore-case --compare-strncmp $(SOURCE_DIR)/tests/smtp.gperf > smtp.c |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
37 |
./smtp |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
38 |
gperf --struct-type --readonly-table --enum --global -K field_name -N header_entry --ignore-case --compare-lengths $(SOURCE_DIR)/tests/smtp.gperf > smtp.c |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
39 |
./smtp |
7881
8fc833c7cd87
25643736 Update gperf to version 3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6369
diff
changeset
|
40 |
gperf -L C -F ', 0, 0' -j1 -i 1 -g -o -t -G -N is_reserved_word -k1,3,'$' < $(SOURCE_DIR)/tests/c-parse.gperf | LC_ALL=C tr -d '\r' | LC_ALL=C sed -e 's|[^ ]*[/\\][\\]*src[/\\][\\]*gperf[^ ]*|gperf|' > c-parse.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
41 |
diff $(SOURCE_DIR)/tests/c-parse.exp c-parse.out |
7881
8fc833c7cd87
25643736 Update gperf to version 3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6369
diff
changeset
|
42 |
gperf -j1 -i 1 -g -o -t -N is_reserved_word -k1,3,'$' < $(SOURCE_DIR)/tests/objc.gperf | LC_ALL=C tr -d '\r' | LC_ALL=C sed -e 's|[^ ]*[/\\][\\]*src[/\\][\\]*gperf[^ ]*|gperf|' > objc.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
43 |
diff $(SOURCE_DIR)/tests/objc.exp objc.out |
7881
8fc833c7cd87
25643736 Update gperf to version 3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6369
diff
changeset
|
44 |
gperf -L C -F ', 0, 0, 0' -D -E -S1 -j1 -i 1 -g -o -t -k'*' < $(SOURCE_DIR)/tests/chill.gperf | LC_ALL=C tr -d '\r' | LC_ALL=C sed -e 's|[^ ]*[/\\][\\]*src[/\\][\\]*gperf[^ ]*|gperf|' > chill.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
45 |
diff $(SOURCE_DIR)/tests/chill.exp chill.out |
7881
8fc833c7cd87
25643736 Update gperf to version 3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6369
diff
changeset
|
46 |
gperf -L C -F ', 0, 0' -j1 -g -o -t -N is_reserved_word -k1,4,7,'$' < $(SOURCE_DIR)/tests/cplusplus.gperf | LC_ALL=C tr -d '\r' | LC_ALL=C sed -e 's|[^ ]*[/\\][\\]*src[/\\][\\]*gperf[^ ]*|gperf|' > cplusplus.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
47 |
diff $(SOURCE_DIR)/tests/cplusplus.exp cplusplus.out |
7881
8fc833c7cd87
25643736 Update gperf to version 3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6369
diff
changeset
|
48 |
gperf -L C -F ', 0' -t -j1 -i 1 -g -o -N java_keyword -k1,3,'$' < $(SOURCE_DIR)/tests/java.gperf | LC_ALL=C tr -d '\r' | LC_ALL=C sed -e 's|[^ ]*[/\\][\\]*src[/\\][\\]*gperf[^ ]*|gperf|' > java.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
49 |
diff $(SOURCE_DIR)/tests/java.exp java.out |
7881
8fc833c7cd87
25643736 Update gperf to version 3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6369
diff
changeset
|
50 |
gperf -n -k1-8 -l < $(SOURCE_DIR)/tests/modula2.gperf | LC_ALL=C tr -d '\r' | LC_ALL=C sed -e 's|[^ ]*[/\\][\\]*src[/\\][\\]*gperf[^ ]*|gperf|' > modula2.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
51 |
diff $(SOURCE_DIR)/tests/modula2.exp modula2.out |
7881
8fc833c7cd87
25643736 Update gperf to version 3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6369
diff
changeset
|
52 |
gperf -D -t -k1,'$' < $(SOURCE_DIR)/tests/c-parse.gperf | LC_ALL=C tr -d '\r' | LC_ALL=C sed -e 's|[^ ]*[/\\][\\]*src[/\\][\\]*gperf[^ ]*|gperf|' > test-4.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
53 |
8 input keys have identical hash values, examine output carefully... |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
54 |
diff $(SOURCE_DIR)/tests/test-4.exp test-4.out |
7881
8fc833c7cd87
25643736 Update gperf to version 3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6369
diff
changeset
|
55 |
gperf -g -o -j1 -t -N is_reserved_word < $(SOURCE_DIR)/tests/gpc.gperf | LC_ALL=C tr -d '\r' | LC_ALL=C sed -e 's|[^ ]*[/\\][\\]*src[/\\][\\]*gperf[^ ]*|gperf|' > gpc.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
56 |
diff $(SOURCE_DIR)/tests/gpc.exp gpc.out |
7881
8fc833c7cd87
25643736 Update gperf to version 3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6369
diff
changeset
|
57 |
gperf -m5 < $(SOURCE_DIR)/tests/permut2.gperf | LC_ALL=C tr -d '\r' | LC_ALL=C sed -e 's|[^ ]*[/\\][\\]*src[/\\][\\]*gperf[^ ]*|gperf|' > permut2.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
58 |
diff $(SOURCE_DIR)/tests/permut2.exp permut2.out |
7881
8fc833c7cd87
25643736 Update gperf to version 3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6369
diff
changeset
|
59 |
gperf -m5 < $(SOURCE_DIR)/tests/permut3.gperf | LC_ALL=C tr -d '\r' | LC_ALL=C sed -e 's|[^ ]*[/\\][\\]*src[/\\][\\]*gperf[^ ]*|gperf|' > permut3.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
60 |
diff $(SOURCE_DIR)/tests/permut3.exp permut3.out |
7881
8fc833c7cd87
25643736 Update gperf to version 3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6369
diff
changeset
|
61 |
gperf -m5 --ignore-case < $(SOURCE_DIR)/tests/permutc2.gperf | LC_ALL=C tr -d '\r' | LC_ALL=C sed -e 's|[^ ]*[/\\][\\]*src[/\\][\\]*gperf[^ ]*|gperf|' > permutc2.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
62 |
diff $(SOURCE_DIR)/tests/permutc2.exp permutc2.out |
7881
8fc833c7cd87
25643736 Update gperf to version 3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6369
diff
changeset
|
63 |
gperf -C -E -G -I -t < $(SOURCE_DIR)/tests/charsets.gperf | LC_ALL=C tr -d '\r' | LC_ALL=C sed -e 's|[^ ]*[/\\][\\]*src[/\\][\\]*gperf[^ ]*|gperf|' > charsets.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
64 |
diff $(SOURCE_DIR)/tests/charsets.exp charsets.out |
7881
8fc833c7cd87
25643736 Update gperf to version 3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6369
diff
changeset
|
65 |
gperf -C -E -G -I -t < $(SOURCE_DIR)/tests/languages.gperf | LC_ALL=C tr -d '\r' | LC_ALL=C sed -e 's|[^ ]*[/\\][\\]*src[/\\][\\]*gperf[^ ]*|gperf|' > languages.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
66 |
diff $(SOURCE_DIR)/tests/languages.exp languages.out |
7881
8fc833c7cd87
25643736 Update gperf to version 3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6369
diff
changeset
|
67 |
gperf -t < $(SOURCE_DIR)/tests/incomplete.gperf | LC_ALL=C tr -d '\r' | LC_ALL=C sed -e 's|[^ ]*[/\\][\\]*src[/\\][\\]*gperf[^ ]*|gperf|' > incomplete.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
68 |
diff $(SOURCE_DIR)/tests/incomplete.exp incomplete.out |
7881
8fc833c7cd87
25643736 Update gperf to version 3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6369
diff
changeset
|
69 |
gperf -h | LC_ALL=C tr -d '\r' | LC_ALL=C sed -e 's|[^ ]*[/\\][\\]*src[/\\][\\]*gperf[^ ]*|gperf|' > test-6.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
70 |
diff $(SOURCE_DIR)/tests/test-6.exp test-6.out |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
71 |
only if, do, for, case, goto, else, while, and return should be found |
7881
8fc833c7cd87
25643736 Update gperf to version 3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6369
diff
changeset
|
72 |
./aout -v < $(SOURCE_DIR)/tests/c.gperf | LC_ALL=C tr -d '\r' | LC_ALL=C sed -e 's|[^ ]*[/\\][\\]*src[/\\][\\]*gperf[^ ]*|gperf|' > test-7.out |
4729
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
73 |
diff $(SOURCE_DIR)/tests/test-7.exp test-7.out |
1841446970af
21526480 gperf needs test and system-test targets hooked up
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
74 |
cd doc; /usr/gnu/bin/make check |