- Timestamp:
- May 10, 2017, 5:00:47 PM (9 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:
- 8514fe19, dbfb35d
- Parents:
- 0f9bef3 (diff), 29cf9c8 (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:
-
- 8 added
- 4 deleted
- 3 edited
-
.expect/concurrent/sched-int-barge.txt (added)
-
.expect/concurrent/sched-int-disjoint.txt (added)
-
.expect/concurrent/sched-int-multi.txt (deleted)
-
.expect/concurrent/sched-int-wait.txt (added)
-
.expect/concurrent/sched-int.txt (deleted)
-
.expect/rational.txt (added)
-
.in/rational.txt (added)
-
Makefile.am (modified) (1 diff)
-
Makefile.in (modified) (1 diff)
-
rational.c (modified) (3 diffs)
-
sched-int-barge.c (added)
-
sched-int-disjoint.c (added)
-
sched-int-multi.c (deleted)
-
sched-int-wait.c (added)
-
sched-int.c (deleted)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/Makefile.am
r0f9bef3 r6250a312 22 22 concurrent=yes 23 23 quick_test+= coroutine thread monitor 24 concurrent_test=coroutine thread monitor multi-monitor sched-int sched-extpreempt24 concurrent_test=coroutine thread monitor multi-monitor sched-int-disjoint sched-int-barge sched-int-wait sched-ext sched-ext-multi preempt 25 25 else 26 26 concurrent=no -
src/tests/Makefile.in
r0f9bef3 r6250a312 230 230 @BUILD_CONCURRENCY_TRUE@concurrent = yes 231 231 @BUILD_CONCURRENCY_FALSE@concurrent_test = 232 @BUILD_CONCURRENCY_TRUE@concurrent_test = coroutine thread monitor multi-monitor sched-int sched-ext preempt 233 TEST_FLAGS = $(if $(test), 2> .err/${@}.log, ) 232 @BUILD_CONCURRENCY_TRUE@concurrent_test = coroutine thread monitor multi-monitor sched-int-disjoint sched-int-barge sched-int-wait sched-ext sched-ext-multi preempt 234 233 235 234 # applies to both programs 236 235 EXTRA_FLAGS = 237 236 BUILD_FLAGS = -g -Wall -Wno-unused-function @CFA_FLAGS@ ${EXTRA_FLAGS} 237 TEST_FLAGS = $(if $(test), 2> .err/${@}.log, ) 238 238 fstream_test_SOURCES = fstream_test.c 239 239 vector_test_SOURCES = vector/vector_int.c vector/array.c vector/vector_test.c -
src/tests/rational.c
r0f9bef3 r6250a312 10 10 // Created On : Mon Mar 28 08:43:12 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Jul 5 18:29:37 201613 // Update Count : 2512 // Last Modified On : Tue May 2 22:11:05 2017 13 // Update Count : 41 14 14 // 15 15 … … 36 36 b = (Rational){ -3, 2 }; 37 37 sout | a | b | endl; 38 sout | a == 1 | endl; 38 // sout | a == 1 | endl; // FIX ME 39 39 sout | a != b | endl; 40 40 sout | a < b | endl; … … 61 61 sout | narrow( 3.14159265358979, 256 ) | endl; 62 62 63 sout | "decompose" | endl; 64 RationalImpl n, d; 65 // [n, d] = a; 66 // sout | a | n | d | endl; 67 68 sout | "more tests" | endl; 63 69 Rational x = { 1, 2 }, y = { 2 }; 64 70 sout | x - y | endl;
Note:
See TracChangeset
for help on using the changeset viewer.