- Timestamp:
- Mar 23, 2017, 11:30:42 AM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 578b637
- Parents:
- 9fcdfa3 (diff), 27cc24e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- src/tests
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/tests/.expect/io.txt ¶
r9fcdfa3 rc58f4ab 18 18 abc, $xyz 19 19 20 v(27 v[27 v{27 $27 £27 ¥27 ¡27 ¿27 «2721 25, 25. 25: 25; 25! 25? 25 ) 25] 25} 25% 25¢ 25»20 v(27 v[27 v{27 $27 =27 £27 ¥27 ¡27 ¿27 «27 21 25, 25. 25: 25; 25! 25? 25% 25¢ 25» 25) 25] 25} 22 22 25'27 25`27 25"27 25 27 25 23 23 27 25 … … 25 25 27 25 27 25 26 26 27 27 3, 4, a, 7.2 28 3, 4, a, 7.2 29 3 4 a 7.2 30 3 4 a 7.234a7.2 3 4 a 7.2 31 3-4-a-7.2^3^4-3-4-a-7.2 -
TabularUnified src/tests/Makefile.am ¶
r9fcdfa3 rc58f4ab 51 51 @+python test.py --list --concurrent=${concurrent} 52 52 53 .dummy : .dummy.c 54 ${CC} ${CFLAGS} -XCFA -n ${<} -o ${@} 55 53 56 constant0-1DP : constant0-1.c 54 57 ${CC} ${CFLAGS} -DDUPS ${<} -o ${@} -
TabularUnified src/tests/Makefile.in ¶
r9fcdfa3 rc58f4ab 669 669 @+python test.py --list --concurrent=${concurrent} 670 670 671 .dummy : .dummy.c 672 ${CC} ${CFLAGS} -XCFA -n ${<} -o ${@} 673 671 674 constant0-1DP : constant0-1.c 672 675 ${CC} ${CFLAGS} -DDUPS ${<} -o ${@} -
TabularUnified src/tests/io.c ¶
r9fcdfa3 rc58f4ab 10 10 // Created On : Wed Mar 2 16:56:02 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Jul 5 18:29:23 201613 // Update Count : 3112 // Last Modified On : Tue Mar 21 22:36:06 2017 13 // Update Count : 48 14 14 // 15 15 … … 62 62 63 63 sepSet( sout, ", $" ); // change separator, maximum of 15 characters 64 sout | f | d | ld | endl // floating point without separator65 | fc | dc | ldc | endl // complex without separator64 sout | f | d | ld | endl 65 | fc | dc | ldc | endl 66 66 | s1 | s2 | endl; 67 67 sout | endl; … … 74 74 | "v{" | 27 75 75 | "$" | 27 76 | "=" | 27 76 77 | "£" | 27 77 78 | "¥" | 27 … … 87 88 | 25 | "!" 88 89 | 25 | "?" 90 | 25 | "%" 91 | 25 | "¢" 92 | 25 | "»" 89 93 | 25 | ")" 90 94 | 25 | "]" 91 95 | 25 | "}" 92 | 25 | "%"93 | 25 | "¢"94 | 25 | "»"95 96 | endl 96 97 // opening-closing delimiters … … 105 106 | 25 | "\v" | 27 106 107 | endl; 108 109 [int, int, const char *, double] t = { 3, 4, "a", 7.2 }; 110 sout | [ 3, 4, "a", 7.2 ] | endl; 111 sout | t | endl; 112 sepSetTuple( sout, " " ); 113 sout | t | endl; 114 sout | sepOn | t | sepDisable | t | sepEnable | t | endl; 115 sepSet( sout, "^" ); 116 sepSetTuple( sout, "-" ); 117 sout | t | 3 | 4 | t | endl; 107 118 } 108 119 -
TabularUnified src/tests/test.py ¶
r9fcdfa3 rc58f4ab 25 25 # parses the Makefile to find the machine type (32-bit / 64-bit) 26 26 def getMachineType(): 27 sh('echo " int main() { return 0;}" > .dummy.c')27 sh('echo "void ?{}(int*a,int b){}int main(){return 0;}" > .dummy.c') 28 28 sh("make .dummy", print2stdout=False) 29 29 _, out = sh("file .dummy", print2stdout=False)
Note: See TracChangeset
for help on using the changeset viewer.