- Timestamp:
- Aug 9, 2018, 6:35:02 PM (7 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, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- ea5b7d6
- Parents:
- fb975a50 (diff), 0c827019 (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:
- tests
- Files:
-
- 5 added
- 284 moved
-
.expect/KRfunctions.x64.txt (moved) (moved from src/tests/.expect/KRfunctions.x64.txt )
-
.expect/KRfunctions.x86.txt (moved) (moved from src/tests/.expect/KRfunctions.x86.txt )
-
.expect/abs.txt (moved) (moved from src/tests/.expect/abs.txt )
-
.expect/alloc-ERROR.txt (moved) (moved from src/tests/.expect/alloc-ERROR.txt )
-
.expect/alloc.txt (moved) (moved from src/tests/.expect/alloc.txt )
-
.expect/array.txt (moved) (moved from src/tests/.expect/array.txt )
-
.expect/ato.txt (moved) (moved from src/tests/.expect/ato.txt )
-
.expect/attributes.x64.txt (moved) (moved from src/tests/.expect/attributes.x64.txt ) (1 diff)
-
.expect/attributes.x86.txt (moved) (moved from src/tests/.expect/attributes.x86.txt ) (1 diff)
-
.expect/avl_test.txt (moved) (moved from src/tests/.expect/avl_test.txt )
-
.expect/cast.txt (moved) (moved from src/tests/.expect/cast.txt )
-
.expect/castError.txt (moved) (moved from src/tests/.expect/castError.txt )
-
.expect/completeTypeError.txt (moved) (moved from src/tests/.expect/completeTypeError.txt )
-
.expect/complex.txt (moved) (moved from src/tests/.expect/complex.txt )
-
.expect/counter.txt (moved) (moved from src/tests/.expect/counter.txt )
-
.expect/declarationErrors.txt (moved) (moved from src/tests/.expect/declarationErrors.txt )
-
.expect/declarationSpecifier.x64.txt (moved) (moved from src/tests/.expect/declarationSpecifier.x64.txt )
-
.expect/declarationSpecifier.x86.txt (moved) (moved from src/tests/.expect/declarationSpecifier.x86.txt )
-
.expect/designations.txt (moved) (moved from src/tests/.expect/designations.txt )
-
.expect/div.txt (moved) (moved from src/tests/.expect/div.txt )
-
.expect/enum.txt (moved) (moved from src/tests/.expect/enum.txt )
-
.expect/expression.txt (moved) (moved from src/tests/.expect/expression.txt )
-
.expect/extension.x64.txt (moved) (moved from src/tests/.expect/extension.x64.txt )
-
.expect/extension.x86.txt (moved) (moved from src/tests/.expect/extension.x86.txt )
-
.expect/fallthrough.txt (moved) (moved from src/tests/.expect/fallthrough.txt )
-
.expect/forall.txt (moved) (moved from src/tests/.expect/forall.txt )
-
.expect/fstream_test.txt (added)
-
.expect/function-operator.txt (moved) (moved from src/tests/.expect/function-operator.txt )
-
.expect/functions.x64.txt (moved) (moved from src/tests/.expect/functions.x64.txt )
-
.expect/functions.x86.txt (moved) (moved from src/tests/.expect/functions.x86.txt )
-
.expect/gccExtensions.x64.txt (moved) (moved from src/tests/.expect/gccExtensions.x64.txt )
-
.expect/gccExtensions.x86.txt (moved) (moved from src/tests/.expect/gccExtensions.x86.txt )
-
.expect/genericUnion.txt (moved) (moved from src/tests/.expect/genericUnion.txt )
-
.expect/gmp.x64.txt (moved) (moved from src/tests/.expect/gmp.x64.txt )
-
.expect/heap.txt (moved) (moved from src/tests/.expect/identFuncDeclarator.txt )
-
.expect/hello.txt (moved) (moved from src/tests/.expect/hello.txt )
-
.expect/identFuncDeclarator.txt (moved) (moved from src/tests/.expect/identParamDeclarator.txt )
-
.expect/identParamDeclarator.txt (moved) (moved from src/tests/.expect/labelledExit.txt )
-
.expect/identity.txt (moved) (moved from src/tests/.expect/identity.txt )
-
.expect/ifwhileCtl.txt (moved) (moved from src/tests/.expect/ifwhileCtl.txt )
-
.expect/io1.txt (moved) (moved from src/tests/.expect/io1.txt ) (1 diff)
-
.expect/io2.txt (moved) (moved from src/tests/.expect/io2.txt )
-
.expect/labelledExit.txt (moved) (moved from src/tests/.expect/limits.txt )
-
.expect/limits.txt (moved) (moved from src/tests/.expect/maybe.txt )
-
.expect/literals.txt (moved) (moved from src/tests/.expect/literals.txt )
-
.expect/math1.txt (moved) (moved from src/tests/.expect/math1.x86.txt )
-
.expect/math2.x64.txt (moved) (moved from src/tests/.expect/math2.x64.txt )
-
.expect/math2.x86.txt (moved) (moved from src/tests/.expect/math2.x86.txt )
-
.expect/math3.x64.txt (moved) (moved from src/tests/.expect/math3.x64.txt )
-
.expect/math3.x86.txt (moved) (moved from src/tests/.expect/math3.x86.txt )
-
.expect/math4.x64.txt (moved) (moved from src/tests/.expect/math4.x64.txt )
-
.expect/maybe.txt (moved) (moved from src/tests/.expect/nested-types.txt )
-
.expect/minmax.txt (moved) (moved from src/tests/.expect/minmax.txt )
-
.expect/nested-types-ERR1.txt (moved) (moved from src/tests/.expect/nested-types-ERR1.txt )
-
.expect/nested-types-ERR2.txt (moved) (moved from src/tests/.expect/nested-types-ERR2.txt )
-
.expect/nested-types.txt (moved) (moved from src/tests/.expect/numericConstants.txt )
-
.expect/numericConstants.txt (moved) (moved from src/tests/.expect/operators.txt )
-
.expect/operators.txt (moved) (moved from src/tests/.expect/result.txt )
-
.expect/polymorphism.txt (moved) (moved from src/tests/.expect/polymorphism.txt )
-
.expect/quoted_keyword.txt (moved) (moved from src/tests/.expect/quoted_keyword.txt )
-
.expect/random.txt (moved) (moved from src/tests/.expect/random.txt )
-
.expect/rational.txt (moved) (moved from src/tests/.expect/rational.txt )
-
.expect/references.txt (moved) (moved from src/tests/.expect/references.txt )
-
.expect/result.txt (moved) (moved from src/tests/.expect/stdincludes.txt )
-
.expect/scopeErrors.txt (moved) (moved from src/tests/.expect/scopeErrors.txt )
-
.expect/searchsort.txt (moved) (moved from src/tests/.expect/searchsort.txt )
-
.expect/shortCircuit.txt (moved) (moved from src/tests/.expect/shortCircuit.txt )
-
.expect/simpleGenericTriple.txt (moved) (moved from src/tests/.expect/simpleGenericTriple.txt )
-
.expect/stdincludes.txt (moved) (moved from src/tests/.expect/switch.txt )
-
.expect/sum.txt (moved) (moved from src/tests/.expect/sum.txt )
-
.expect/swap.txt (moved) (moved from src/tests/.expect/swap.txt )
-
.expect/switch.txt (moved) (moved from src/tests/.expect/typedefRedef.txt )
-
.expect/time.x64.txt (moved) (moved from src/tests/.expect/time.x64.txt )
-
.expect/time.x86.txt (moved) (moved from src/tests/.expect/time.x86.txt )
-
.expect/typedefRedef-ERR1.txt (moved) (moved from src/tests/.expect/typedefRedef-ERR1.txt )
-
.expect/typedefRedef.txt (moved) (moved from src/tests/.expect/typeof.txt )
-
.expect/typeof.txt (moved) (moved from src/tests/.expect/variableDeclarator.txt )
-
.expect/user_literals.txt (moved) (moved from src/tests/.expect/user_literals.txt )
-
.expect/variableDeclarator.txt (moved) (moved from src/tests/.expect/voidPtr.txt )
-
.expect/vector.txt (moved) (moved from src/tests/.expect/vector.txt )
-
.expect/voidPtr.txt (moved) (moved from src/tests/builtins/.expect/sync.txt )
-
.expect/with-statement.txt (moved) (moved from src/tests/.expect/with-statement.txt )
-
.gitignore (moved) (moved from src/tests/.gitignore )
-
.in/fstream_test.txt (moved) (moved from src/tests/.in/fstream_test.txt )
-
.in/gmp.txt (moved) (moved from src/tests/.in/gmp.txt )
-
.in/io.data (moved) (moved from src/tests/.in/io.data )
-
.in/rational.txt (moved) (moved from src/tests/.in/rational.txt )
-
KRfunctions.c (moved) (moved from src/tests/KRfunctions.c )
-
Makefile.am (moved) (moved from src/tests/Makefile.am ) (4 diffs)
-
Makefile.in (moved) (moved from src/tests/Makefile.in ) (9 diffs)
-
abs.c (moved) (moved from src/tests/abs.c ) (2 diffs)
-
alloc.c (moved) (moved from src/tests/alloc.c ) (1 diff)
-
array.c (moved) (moved from src/tests/array.c )
-
ato.c (moved) (moved from src/tests/ato.c ) (2 diffs)
-
attributes.c (moved) (moved from src/tests/attributes.c )
-
avltree/avl-private.c (moved) (moved from src/tests/avltree/avl-private.c )
-
avltree/avl-private.h (moved) (moved from src/tests/avltree/avl-private.h )
-
avltree/avl.h (moved) (moved from src/tests/avltree/avl.h )
-
avltree/avl0.c (moved) (moved from src/tests/avltree/avl0.c )
-
avltree/avl1.c (moved) (moved from src/tests/avltree/avl1.c ) (1 diff)
-
avltree/avl2.c (moved) (moved from src/tests/avltree/avl2.c )
-
avltree/avl3.c (moved) (moved from src/tests/avltree/avl3.c ) (1 diff)
-
avltree/avl4.c (moved) (moved from src/tests/avltree/avl4.c )
-
avltree/avl_test.c (moved) (moved from src/tests/avltree/avl_test.c ) (1 diff)
-
builtins/.expect/sync.txt (moved) (moved from src/tests/raii/.expect/ctor-autogen.txt )
-
builtins/sync.c (moved) (moved from src/tests/builtins/sync.c )
-
cast.c (moved) (moved from src/tests/cast.c )
-
castError.c (moved) (moved from src/tests/castError.c )
-
commentMisc.c (moved) (moved from src/tests/commentMisc.c )
-
completeTypeError.c (moved) (moved from src/tests/completeTypeError.c )
-
complex.c (moved) (moved from src/tests/complex.c ) (2 diffs)
-
concurrent/.expect/coroutineYield.txt (moved) (moved from src/tests/concurrent/.expect/coroutineYield.txt )
-
concurrent/.expect/monitor.txt (moved) (moved from src/tests/concurrent/.expect/monitor.txt )
-
concurrent/.expect/multi-monitor.txt (moved) (moved from src/tests/concurrent/.expect/multi-monitor.txt )
-
concurrent/.expect/preempt.txt (moved) (moved from src/tests/concurrent/.expect/preempt.txt )
-
concurrent/.expect/thread.txt (moved) (moved from src/tests/concurrent/.expect/thread.txt )
-
concurrent/coroutineYield.c (moved) (moved from src/tests/concurrent/coroutineYield.c ) (1 diff)
-
concurrent/examples/.expect/boundedBufferEXT.txt (moved) (moved from src/tests/concurrent/examples/.expect/boundedBufferEXT.txt )
-
concurrent/examples/.expect/boundedBufferINT.txt (moved) (moved from src/tests/concurrent/examples/.expect/boundedBufferINT.txt )
-
concurrent/examples/.expect/datingService.txt (moved) (moved from src/tests/concurrent/examples/.expect/datingService.txt )
-
concurrent/examples/.expect/matrixSum.txt (moved) (moved from src/tests/concurrent/examples/.expect/matrixSum.txt )
-
concurrent/examples/.expect/quickSort.txt (moved) (moved from src/tests/concurrent/examples/.expect/quickSort.txt )
-
concurrent/examples/.in/quickSort.txt (moved) (moved from src/tests/concurrent/examples/.in/quickSort.txt )
-
concurrent/examples/boundedBufferEXT.c (moved) (moved from src/tests/concurrent/examples/boundedBufferEXT.c ) (1 diff)
-
concurrent/examples/boundedBufferINT.c (moved) (moved from src/tests/concurrent/examples/boundedBufferINT.c ) (1 diff)
-
concurrent/examples/datingService.c (moved) (moved from src/tests/concurrent/examples/datingService.c ) (1 diff)
-
concurrent/examples/matrixSum.c (moved) (moved from src/tests/concurrent/examples/matrixSum.c ) (2 diffs)
-
concurrent/examples/quickSort.c (moved) (moved from src/tests/concurrent/examples/quickSort.c ) (1 diff)
-
concurrent/monitor.c (moved) (moved from src/tests/concurrent/monitor.c ) (1 diff)
-
concurrent/multi-monitor.c (moved) (moved from src/tests/concurrent/multi-monitor.c ) (1 diff)
-
concurrent/preempt.c (moved) (moved from src/tests/concurrent/preempt.c ) (1 diff)
-
concurrent/signal/.expect/block.txt (moved) (moved from src/tests/concurrent/signal/.expect/block.txt )
-
concurrent/signal/.expect/disjoint.txt (moved) (moved from src/tests/concurrent/signal/.expect/disjoint.txt )
-
concurrent/signal/.expect/wait.txt (moved) (moved from src/tests/concurrent/signal/.expect/wait.txt )
-
concurrent/signal/block.c (moved) (moved from src/tests/concurrent/signal/block.c ) (1 diff)
-
concurrent/signal/disjoint.c (moved) (moved from src/tests/concurrent/signal/disjoint.c ) (1 diff)
-
concurrent/signal/wait.c (moved) (moved from src/tests/concurrent/signal/wait.c ) (1 diff)
-
concurrent/thread.c (moved) (moved from src/tests/concurrent/thread.c ) (1 diff)
-
concurrent/waitfor/.expect/barge.txt (moved) (moved from src/tests/concurrent/waitfor/.expect/barge.txt )
-
concurrent/waitfor/.expect/dtor.txt (moved) (moved from src/tests/concurrent/waitfor/.expect/dtor.txt )
-
concurrent/waitfor/.expect/else.txt (moved) (moved from src/tests/concurrent/waitfor/.expect/else.txt )
-
concurrent/waitfor/.expect/recurse.txt (moved) (moved from src/tests/concurrent/waitfor/.expect/recurse.txt )
-
concurrent/waitfor/.expect/statment.txt (moved) (moved from src/tests/concurrent/waitfor/.expect/statment.txt )
-
concurrent/waitfor/.expect/when.txt (moved) (moved from src/tests/concurrent/waitfor/.expect/when.txt )
-
concurrent/waitfor/barge.c (moved) (moved from src/tests/concurrent/waitfor/barge.c ) (1 diff)
-
concurrent/waitfor/dtor.c (moved) (moved from src/tests/concurrent/waitfor/dtor.c ) (1 diff)
-
concurrent/waitfor/else.c (moved) (moved from src/tests/concurrent/waitfor/else.c ) (1 diff)
-
concurrent/waitfor/parse.c (moved) (moved from src/tests/concurrent/waitfor/parse.c ) (1 diff)
-
concurrent/waitfor/parse2.c (moved) (moved from src/tests/concurrent/waitfor/parse2.c )
-
concurrent/waitfor/recurse.c (moved) (moved from src/tests/concurrent/waitfor/recurse.c ) (1 diff)
-
concurrent/waitfor/simple.c (moved) (moved from src/tests/concurrent/waitfor/simple.c ) (1 diff)
-
concurrent/waitfor/statment.c (moved) (moved from src/tests/concurrent/waitfor/statment.c ) (1 diff)
-
concurrent/waitfor/when.c (moved) (moved from src/tests/concurrent/waitfor/when.c ) (1 diff)
-
config.py.in (moved) (moved from src/tests/config.py.in )
-
context.c (moved) (moved from src/tests/context.c )
-
coroutine/.expect/fibonacci.txt (moved) (moved from src/tests/coroutine/.expect/fibonacci.txt )
-
coroutine/.expect/fmtLines.txt (added)
-
coroutine/.expect/pingpong.txt (moved) (moved from src/tests/coroutine/.expect/pingpong.txt )
-
coroutine/.expect/prodcons.txt (moved) (moved from src/tests/coroutine/.expect/prodcons.txt )
-
coroutine/.expect/runningTotal.txt (moved) (moved from src/tests/coroutine/.expect/runningTotal.txt )
-
coroutine/.in/fmtLines.txt (moved) (moved from src/tests/coroutine/.in/fmtLines.txt ) (2 diffs)
-
coroutine/fibonacci.c (moved) (moved from src/tests/coroutine/fibonacci.c ) (1 diff)
-
coroutine/fmtLines.c (moved) (moved from src/tests/coroutine/fmtLines.c ) (2 diffs)
-
coroutine/pingpong.c (moved) (moved from src/tests/coroutine/pingpong.c ) (2 diffs)
-
coroutine/prodcons.c (moved) (moved from src/tests/coroutine/prodcons.c ) (2 diffs)
-
coroutine/runningTotal.c (moved) (moved from src/tests/coroutine/runningTotal.c ) (2 diffs)
-
counter.c (moved) (moved from src/tests/counter.c )
-
declarationErrors.c (moved) (moved from src/tests/declarationErrors.c )
-
declarationSpecifier.c (moved) (moved from src/tests/declarationSpecifier.c )
-
designations.c (moved) (moved from src/tests/designations.c )
-
div.c (moved) (moved from src/tests/div.c ) (2 diffs)
-
enum.c (moved) (moved from src/tests/enum.c )
-
except-0.c (moved) (moved from src/tests/except-0.c )
-
except-1.c (moved) (moved from src/tests/except-1.c )
-
except-2.c (moved) (moved from src/tests/except-2.c ) (1 diff)
-
except-3.c (moved) (moved from src/tests/except-3.c )
-
except-mac.h (moved) (moved from src/tests/except-mac.h )
-
expression.c (moved) (moved from src/tests/expression.c )
-
extension.c (moved) (moved from src/tests/extension.c )
-
fallthrough.c (moved) (moved from src/tests/fallthrough.c )
-
forall.c (moved) (moved from src/tests/forall.c )
-
fstream_test.c (moved) (moved from src/tests/fstream_test.c ) (2 diffs)
-
function-operator.c (moved) (moved from src/tests/function-operator.c ) (3 diffs)
-
functions.c (moved) (moved from src/tests/functions.c )
-
gccExtensions.c (moved) (moved from src/tests/gccExtensions.c )
-
genericUnion.c (moved) (moved from src/tests/genericUnion.c ) (1 diff)
-
gmp.c (moved) (moved from src/tests/gmp.c ) (2 diffs)
-
heap.c (added)
-
hello.c (moved) (moved from src/tests/hello.c ) (2 diffs)
-
identFuncDeclarator.c (moved) (moved from src/tests/identFuncDeclarator.c )
-
identParamDeclarator.c (moved) (moved from src/tests/identParamDeclarator.c )
-
identity.c (moved) (moved from src/tests/identity.c ) (2 diffs)
-
ifwhileCtl.c (moved) (moved from src/tests/ifwhileCtl.c ) (1 diff)
-
io1.c (moved) (moved from src/tests/io1.c ) (2 diffs)
-
io2.c (moved) (moved from src/tests/io2.c ) (1 diff)
-
labelledExit.c (moved) (moved from src/tests/labelledExit.c )
-
limits.c (moved) (moved from src/tests/limits.c ) (1 diff)
-
literals.c (moved) (moved from src/tests/literals.c ) (3 diffs)
-
long_tests.h (moved) (moved from src/tests/long_tests.h )
-
math1.c (moved) (moved from src/tests/math1.c ) (2 diffs)
-
math2.c (moved) (moved from src/tests/math2.c ) (2 diffs)
-
math3.c (moved) (moved from src/tests/math3.c ) (2 diffs)
-
math4.c (moved) (moved from src/tests/math4.c ) (2 diffs)
-
maybe.c (moved) (moved from src/tests/maybe.c ) (1 diff)
-
minmax.c (moved) (moved from src/tests/minmax.c ) (2 diffs)
-
namedParmArg.c (moved) (moved from src/tests/namedParmArg.c )
-
nested-types.c (moved) (moved from src/tests/nested-types.c )
-
numericConstants.c (moved) (moved from src/tests/numericConstants.c )
-
occursError.c (moved) (moved from src/tests/occursError.c )
-
operators.c (moved) (moved from src/tests/operators.c )
-
polymorphism.c (moved) (moved from src/tests/polymorphism.c )
-
preempt_longrun/Makefile.am (moved) (moved from src/tests/preempt_longrun/Makefile.am ) (1 diff)
-
preempt_longrun/Makefile.in (moved) (moved from src/tests/preempt_longrun/Makefile.in ) (6 diffs)
-
preempt_longrun/block.c (moved) (moved from src/tests/preempt_longrun/block.c )
-
preempt_longrun/coroutine.c (moved) (moved from src/tests/preempt_longrun/coroutine.c )
-
preempt_longrun/create.c (moved) (moved from src/tests/preempt_longrun/create.c ) (1 diff)
-
preempt_longrun/disjoint.c (moved) (moved from src/tests/preempt_longrun/disjoint.c )
-
preempt_longrun/enter.c (moved) (moved from src/tests/preempt_longrun/enter.c ) (1 diff)
-
preempt_longrun/enter3.c (moved) (moved from src/tests/preempt_longrun/enter3.c ) (1 diff)
-
preempt_longrun/preempt.c (moved) (moved from src/tests/preempt_longrun/preempt.c )
-
preempt_longrun/processor.c (moved) (moved from src/tests/preempt_longrun/processor.c ) (1 diff)
-
preempt_longrun/stack.c (moved) (moved from src/tests/preempt_longrun/stack.c ) (1 diff)
-
preempt_longrun/update-type (moved) (moved from src/tests/preempt_longrun/update-type )
-
preempt_longrun/wait.c (moved) (moved from src/tests/preempt_longrun/wait.c )
-
preempt_longrun/yield.c (moved) (moved from src/tests/preempt_longrun/yield.c ) (1 diff)
-
pybin/__init__.py (moved) (moved from src/tests/pybin/__init__.py )
-
pybin/settings.py (added)
-
pybin/test_run.py (moved) (moved from src/tests/pybin/test_run.py )
-
pybin/tools.py (moved) (moved from src/tests/pybin/tools.py ) (2 diffs)
-
quoted_keyword.c (moved) (moved from src/tests/quoted_keyword.c ) (1 diff)
-
raii/.expect/ctor-autogen-ERR1.txt (moved) (moved from src/tests/raii/.expect/ctor-autogen-ERR1.txt )
-
raii/.expect/ctor-autogen.txt (moved) (moved from src/tests/raii/.expect/init_once.txt )
-
raii/.expect/dtor-early-exit-ERR1.txt (moved) (moved from src/tests/raii/.expect/dtor-early-exit-ERR1.txt )
-
raii/.expect/dtor-early-exit-ERR2.txt (moved) (moved from src/tests/raii/.expect/dtor-early-exit-ERR2.txt )
-
raii/.expect/dtor-early-exit.txt (moved) (moved from src/tests/raii/.expect/dtor-early-exit.txt )
-
raii/.expect/globals.txt (moved) (moved from src/tests/raii/.expect/globals.txt )
-
raii/.expect/init_once.txt (added)
-
raii/.expect/memberCtors-ERR1.txt (moved) (moved from src/tests/raii/.expect/memberCtors-ERR1.txt )
-
raii/.expect/memberCtors.txt (moved) (moved from src/tests/raii/.expect/memberCtors.txt )
-
raii/ctor-autogen.c (moved) (moved from src/tests/raii/ctor-autogen.c )
-
raii/dtor-early-exit.c (moved) (moved from src/tests/raii/dtor-early-exit.c ) (1 diff)
-
raii/globals.c (moved) (moved from src/tests/raii/globals.c ) (1 diff)
-
raii/init_once.c (moved) (moved from src/tests/raii/init_once.c )
-
raii/memberCtors.c (moved) (moved from src/tests/raii/memberCtors.c )
-
raii/multiDimension.c (moved) (moved from src/tests/raii/multiDimension.c )
-
raii/multiDimension.txt (moved) (moved from src/tests/raii/multiDimension.txt )
-
random.c (moved) (moved from src/tests/random.c ) (2 diffs)
-
rational.c (moved) (moved from src/tests/rational.c ) (1 diff)
-
references.c (moved) (moved from src/tests/references.c )
-
result.c (moved) (moved from src/tests/result.c ) (1 diff)
-
scope.c (moved) (moved from src/tests/scope.c )
-
scopeErrors.c (moved) (moved from src/tests/scopeErrors.c )
-
searchsort.c (moved) (moved from src/tests/searchsort.c ) (2 diffs)
-
shortCircuit.c (moved) (moved from src/tests/shortCircuit.c ) (1 diff)
-
simpleGenericTriple.c (moved) (moved from src/tests/simpleGenericTriple.c )
-
stdincludes.c (moved) (moved from src/tests/stdincludes.c )
-
structMember.c (moved) (moved from src/tests/structMember.c )
-
subrange.c (moved) (moved from src/tests/subrange.c )
-
sum.c (moved) (moved from src/tests/sum.c ) (2 diffs)
-
swap.c (moved) (moved from src/tests/swap.c ) (2 diffs)
-
switch.c (moved) (moved from src/tests/switch.c )
-
test.py (moved) (moved from src/tests/test.py ) (3 diffs)
-
time.c (moved) (moved from src/tests/time.c ) (2 diffs)
-
tuple/.expect/tupleAssign.txt (moved) (moved from src/tests/tuple/.expect/tupleAssign.txt )
-
tuple/.expect/tupleCast.txt (moved) (moved from src/tests/tuple/.expect/tupleCast.txt )
-
tuple/.expect/tupleFunction.txt (moved) (moved from src/tests/tuple/.expect/tupleFunction.txt )
-
tuple/.expect/tupleMember.txt (moved) (moved from src/tests/tuple/.expect/tupleMember.txt )
-
tuple/.expect/tuplePolymorphism.txt (moved) (moved from src/tests/tuple/.expect/tuplePolymorphism.txt )
-
tuple/.expect/tupleVariadic.txt (moved) (moved from src/tests/tuple/.expect/tupleVariadic.txt )
-
tuple/tupleAssign.c (moved) (moved from src/tests/tuple/tupleAssign.c ) (1 diff)
-
tuple/tupleCast.c (moved) (moved from src/tests/tuple/tupleCast.c )
-
tuple/tupleFunction.c (moved) (moved from src/tests/tuple/tupleFunction.c )
-
tuple/tupleMember.c (moved) (moved from src/tests/tuple/tupleMember.c )
-
tuple/tuplePolymorphism.c (moved) (moved from src/tests/tuple/tuplePolymorphism.c )
-
tuple/tupleVariadic.c (moved) (moved from src/tests/tuple/tupleVariadic.c ) (5 diffs)
-
tuple/tuples.c (moved) (moved from src/tests/tuple/tuples.c )
-
typeGenerator.c (moved) (moved from src/tests/typeGenerator.c )
-
typedef.c (moved) (moved from src/tests/typedef.c )
-
typedefDeclarator.c (moved) (moved from src/tests/typedefDeclarator.c )
-
typedefRedef.c (moved) (moved from src/tests/typedefRedef.c )
-
typeof.c (moved) (moved from src/tests/typeof.c )
-
user_literals.c (moved) (moved from src/tests/user_literals.c ) (2 diffs)
-
variableDeclarator.c (moved) (moved from src/tests/variableDeclarator.c )
-
vector.c (moved) (moved from src/tests/vector.c ) (1 diff)
-
virtualCast.c (moved) (moved from src/tests/virtualCast.c ) (1 diff)
-
voidPtr.c (moved) (moved from src/tests/voidPtr.c )
-
warnings/.expect/self-assignment.txt (moved) (moved from src/tests/warnings/.expect/self-assignment.txt )
-
warnings/self-assignment.c (moved) (moved from src/tests/warnings/self-assignment.c )
-
with-statement.c (moved) (moved from src/tests/with-statement.c )
Legend:
- Unmodified
- Added
- Removed
-
tests/.expect/attributes.x64.txt
rfb975a50 r455a7d5 316 316 ((void)sizeof(__attribute__ ((unused,unused)) signed int )); 317 317 ((void)sizeof(__attribute__ ((unused,unused,unused,unused)) signed int **)); 318 ((void)sizeof(__attribute__ ((unused,unused,unused)) signed int [ 5]));319 ((void)sizeof(__attribute__ ((unused,unused,unused)) signed int (*)[ 10]));318 ((void)sizeof(__attribute__ ((unused,unused,unused)) signed int [((unsigned long int )5)])); 319 ((void)sizeof(__attribute__ ((unused,unused,unused)) signed int (*)[((unsigned long int )10)])); 320 320 ((void)sizeof(__attribute__ ((unused,unused,unused)) signed int ())); 321 321 struct __attribute__ ((unused)) __anonymous3 { -
tests/.expect/attributes.x86.txt
rfb975a50 r455a7d5 316 316 ((void)sizeof(__attribute__ ((unused,unused)) signed int )); 317 317 ((void)sizeof(__attribute__ ((unused,unused,unused,unused)) signed int **)); 318 ((void)sizeof(__attribute__ ((unused,unused,unused)) signed int [ 5]));319 ((void)sizeof(__attribute__ ((unused,unused,unused)) signed int (*)[ 10]));318 ((void)sizeof(__attribute__ ((unused,unused,unused)) signed int [((unsigned int )5)])); 319 ((void)sizeof(__attribute__ ((unused,unused,unused)) signed int (*)[((unsigned int )10)])); 320 320 ((void)sizeof(__attribute__ ((unused,unused,unused)) signed int ())); 321 321 struct __attribute__ ((unused)) __anonymous3 { -
tests/.expect/io1.txt
rfb975a50 r455a7d5 8 8 9 9 closing delimiters 10 1, x 2. x 3; x 4! x 5? x 6% x 7 ¢ x 8» x 9) x 10] x 11} x10 1, x 2. x 3; x 4! x 5? x 6% x 7 ¢ x 8 » x 9) x 10] x 11} x 11 11 12 12 opening/closing delimiters -
tests/Makefile.am
rfb975a50 r455a7d5 17 17 18 18 debug=yes 19 installed=no 19 20 20 21 quick_test=avl_test operators numericConstants expression enum array typeof cast raii/dtor-early-exit raii/init_once attributes 21 22 22 if BUILD_CONCURRENCY23 23 concurrent= 24 else25 concurrent='-Econcurrent'26 endif27 24 28 25 TEST_PY = python ${srcdir}/test.py … … 30 27 # applies to both programs 31 28 AM_CFLAGS = $(if $(test), 2> $(test), ) \ 32 -XCFA \33 -t \34 -B${abs_top_builddir}/src/driver \35 29 -g \ 36 30 -Wall \ 37 31 -Wno-unused-function \ 38 32 -quiet @CFA_FLAGS@ \ 39 -I. \ 40 -DIN_DIR="${srcdir}/.in/" \ 41 -L${abs_top_builddir}/src/libcfa \ 42 -I${abs_top_srcdir}/src/libcfa \ 43 -I${abs_top_srcdir}/src/libcfa/containers \ 44 -I${abs_top_srcdir}/src/libcfa/concurrency \ 45 -I${abs_top_srcdir}/src/libcfa/stdhdr 33 -DIN_DIR="${srcdir}/.in/" 46 34 47 if !BUILD_DEBUG 48 AM_CFLAGS += -nodebug 49 else 50 if !BUILD_RELEASE 51 AM_CFLAGS += -debug 52 else 53 AM_CFLAGS += ${DEBUG_FLAGS} 54 endif 55 endif 35 AM_CFLAGS += ${DEBUG_FLAGS} ${INSTALL_FLAGS} ${ARCH_FLAGS} 56 36 57 CC = ${abs_top_builddir}/src/driver/cfa37 CC = @CFACC@ 58 38 59 .PHONY : list 39 .PHONY: list .validate 40 .INTERMEDIATE: .validate .validate.c 60 41 EXTRA_PROGRAMS = fstream_test avl_test # build but do not install 61 42 … … 64 45 avl_test_SOURCES = avltree/avl_test.c avltree/avl0.c avltree/avl1.c avltree/avl2.c avltree/avl3.c avltree/avl4.c avltree/avl-private.c 65 46 47 #---------------------------------------------------------------------------------------------------------------- 66 48 all-local : 67 @+${TEST_PY} --debug=${debug} ${concurrent} ${quick_test}49 @+${TEST_PY} --debug=${debug} --install=${installed} ${concurrent} ${quick_test} 68 50 69 51 all-tests : 70 @+${TEST_PY} --all --debug=${debug} ${concurrent} # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program52 @+${TEST_PY} --all --debug=${debug} --install=${installed} ${concurrent} # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program 71 53 72 54 clean-local : … … 76 58 @+${TEST_PY} --list ${concurrent} 77 59 60 .validate: .validate.c 61 $(COMPILE) .validate.c -fsyntax-only -Wall -Wextra -Werror 62 63 .validate.c: 64 @echo "int main() { return 0; }" > ${@} 65 78 66 concurrency : 79 @+${TEST_PY} --debug=${debug} -Iconcurrent67 @+${TEST_PY} --debug=${debug} --install=${installed} -Iconcurrent 80 68 81 # SKULLDUGGERY like libcfa/Makefile.am prevent extensionless headers from being generated 82 # however, here it is more complicated because it must match the dependencies based on how 83 # they are generated by gcc 84 headers = $(shell find $(top_srcdir)/src/libcfa -type f ! -name "*.*") 85 headers_real = $(shell realpath --relative-to=$(top_srcdir)/src/libcfa $(headers)) 86 headers_deps = $(addprefix %/, $(headers_real)) 87 $(headers_deps) : 88 echo "Dummy rule, should never be called" 89 90 # %/stdlib: 91 # echo "Dummy rule, should never be called" 92 69 #---------------------------------------------------------------------------------------------------------------- 93 70 # implicit rule so not all test require a rule 94 71 % : %.c $(CC) 95 echo $(headers_deps)96 72 $(COMPILE) $(abspath ${<}) -o ${@} 97 73 -
tests/Makefile.in
rfb975a50 r455a7d5 91 91 build_triplet = @build@ 92 92 host_triplet = @host@ 93 @BUILD_DEBUG_FALSE@am__append_1 = -nodebug94 @BUILD_DEBUG_TRUE@@BUILD_RELEASE_FALSE@am__append_2 = -debug95 @BUILD_DEBUG_TRUE@@BUILD_RELEASE_TRUE@am__append_3 = ${DEBUG_FLAGS}96 93 EXTRA_PROGRAMS = fstream_test$(EXEEXT) avl_test$(EXEEXT) 97 subdir = src/tests94 subdir = tests 98 95 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 99 am__aclocal_m4_deps = $(top_srcdir)/configure.ac 96 am__aclocal_m4_deps = $(top_srcdir)/automake/cfa.m4 \ 97 $(top_srcdir)/configure.ac 100 98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 101 99 $(ACLOCAL_M4) … … 181 179 AWK = @AWK@ 182 180 BACKEND_CC = @BACKEND_CC@ 183 CC = ${abs_top_builddir}/src/driver/cfa 181 BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@ 182 CC = @CFACC@ 184 183 CCAS = @CCAS@ 185 184 CCASDEPMODE = @CCASDEPMODE@ 186 185 CCASFLAGS = @CCASFLAGS@ 187 186 CCDEPMODE = @CCDEPMODE@ 187 CFACC = @CFACC@ 188 CFACPP = @CFACPP@ 188 189 CFA_BACKEND_CC = @CFA_BACKEND_CC@ 189 190 CFA_BINDIR = @CFA_BINDIR@ … … 202 203 DEFS = @DEFS@ 203 204 DEPDIR = @DEPDIR@ 205 DRIVER_DIR = @DRIVER_DIR@ 204 206 ECHO_C = @ECHO_C@ 205 207 ECHO_N = @ECHO_N@ … … 217 219 LEXLIB = @LEXLIB@ 218 220 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ 221 LIBCFA_TARGET_DIRS = @LIBCFA_TARGET_DIRS@ 222 LIBCFA_TARGET_MAKEFILES = @LIBCFA_TARGET_MAKEFILES@ 219 223 LIBOBJS = @LIBOBJS@ 220 224 LIBS = @LIBS@ 221 225 LTLIBOBJS = @LTLIBOBJS@ 222 MACHINE_TYPE = @MACHINE_TYPE@223 226 MAKEINFO = @MAKEINFO@ 224 227 MKDIR_P = @MKDIR_P@ … … 236 239 SHELL = @SHELL@ 237 240 STRIP = @STRIP@ 241 TARGET_HOSTS = @TARGET_HOSTS@ 238 242 VERSION = @VERSION@ 239 243 YACC = @YACC@ … … 292 296 top_srcdir = @top_srcdir@ 293 297 debug = yes 298 installed = no 294 299 quick_test = avl_test operators numericConstants expression enum array typeof cast raii/dtor-early-exit raii/init_once attributes 295 @BUILD_CONCURRENCY_FALSE@concurrent = '-Econcurrent' 296 @BUILD_CONCURRENCY_TRUE@concurrent = 300 concurrent = 297 301 TEST_PY = python ${srcdir}/test.py 298 302 299 303 # applies to both programs 300 AM_CFLAGS = $(if $(test), 2> $(test), ) -XCFA -t \ 301 -B${abs_top_builddir}/src/driver -g -Wall -Wno-unused-function \ 302 -quiet @CFA_FLAGS@ -I. -DIN_DIR="${srcdir}/.in/" \ 303 -L${abs_top_builddir}/src/libcfa \ 304 -I${abs_top_srcdir}/src/libcfa \ 305 -I${abs_top_srcdir}/src/libcfa/containers \ 306 -I${abs_top_srcdir}/src/libcfa/concurrency \ 307 -I${abs_top_srcdir}/src/libcfa/stdhdr $(am__append_1) \ 308 $(am__append_2) $(am__append_3) 304 AM_CFLAGS = $(if $(test), 2> $(test), ) -g -Wall -Wno-unused-function \ 305 -quiet @CFA_FLAGS@ -DIN_DIR="${srcdir}/.in/" ${DEBUG_FLAGS} \ 306 ${INSTALL_FLAGS} ${ARCH_FLAGS} 309 307 fstream_test_SOURCES = fstream_test.c 310 308 avl_test_SOURCES = avltree/avl_test.c avltree/avl0.c avltree/avl1.c avltree/avl2.c avltree/avl3.c avltree/avl4.c avltree/avl-private.c 311 312 # SKULLDUGGERY like libcfa/Makefile.am prevent extensionless headers from being generated313 # however, here it is more complicated because it must match the dependencies based on how314 # they are generated by gcc315 headers = $(shell find $(top_srcdir)/src/libcfa -type f ! -name "*.*")316 headers_real = $(shell realpath --relative-to=$(top_srcdir)/src/libcfa $(headers))317 headers_deps = $(addprefix %/, $(headers_real))318 309 all: all-am 319 310 320 311 .SUFFIXES: 321 .SUFFIXES: .c .o .obj 312 .SUFFIXES: .c .o .obj .validate 322 313 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 323 314 @for dep in $?; do \ … … 329 320 esac; \ 330 321 done; \ 331 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/tests/Makefile'; \322 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \ 332 323 $(am__cd) $(top_srcdir) && \ 333 $(AUTOMAKE) --foreign src/tests/Makefile324 $(AUTOMAKE) --foreign tests/Makefile 334 325 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 335 326 @case '$?' in \ … … 617 608 618 609 619 .PHONY : list 620 610 .PHONY: list .validate 611 .INTERMEDIATE: .validate .validate.c 612 613 #---------------------------------------------------------------------------------------------------------------- 621 614 all-local : 622 @+${TEST_PY} --debug=${debug} ${concurrent} ${quick_test}615 @+${TEST_PY} --debug=${debug} --install=${installed} ${concurrent} ${quick_test} 623 616 624 617 all-tests : 625 @+${TEST_PY} --all --debug=${debug} ${concurrent} # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program618 @+${TEST_PY} --all --debug=${debug} --install=${installed} ${concurrent} # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program 626 619 627 620 clean-local : … … 631 624 @+${TEST_PY} --list ${concurrent} 632 625 626 .validate: .validate.c 627 $(COMPILE) .validate.c -fsyntax-only -Wall -Wextra -Werror 628 629 .validate.c: 630 @echo "int main() { return 0; }" > ${@} 631 633 632 concurrency : 634 @+${TEST_PY} --debug=${debug} -Iconcurrent 635 $(headers_deps) : 636 echo "Dummy rule, should never be called" 637 638 # %/stdlib: 639 # echo "Dummy rule, should never be called" 640 633 @+${TEST_PY} --debug=${debug} --install=${installed} -Iconcurrent 634 635 #---------------------------------------------------------------------------------------------------------------- 641 636 # implicit rule so not all test require a rule 642 637 % : %.c $(CC) 643 echo $(headers_deps)644 638 $(COMPILE) $(abspath ${<}) -o ${@} 645 639 -
tests/abs.c
rfb975a50 r455a7d5 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // abs.c -- 7 // abs.c -- 8 8 // 9 9 // Author : Peter A. Buhr … … 14 14 // 15 15 16 #include <fstream >17 #include <stdlib > // abs16 #include <fstream.hfa> 17 #include <stdlib.hfa> // abs 18 18 19 19 int main( void ) { -
tests/alloc.c
rfb975a50 r455a7d5 18 18 #include <stdint.h> // uintptr_t 19 19 #include <stdlib.h> // posix_memalign 20 #include <fstream >21 #include <stdlib > // access C malloc, realloc20 #include <fstream.hfa> 21 #include <stdlib.hfa> // access C malloc, realloc 22 22 23 23 int * foo( int * p, int c ) { return p; } -
tests/ato.c
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // ato.c -- 8 // 6 // 7 // ato.c -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Thu Feb 4 08:10:57 2016 … … 12 12 // Last Modified On : Thu Nov 16 18:31:56 2017 13 13 // Update Count : 89 14 // 14 // 15 15 16 #include <fstream >17 #include <stdlib > // ato, strto16 #include <fstream.hfa> 17 #include <stdlib.hfa> // ato, strto 18 18 19 19 int main( void ) { -
tests/avltree/avl1.c
rfb975a50 r455a7d5 1 1 #include "avl.h" 2 2 // #include "cwrap.h" 3 #include <stdlib >3 #include <stdlib.hfa> 4 4 5 5 forall(otype K | Comparable(K), otype V) -
tests/avltree/avl3.c
rfb975a50 r455a7d5 1 1 #include "avl.h" 2 2 #include "avl-private.h" 3 #include <stdlib >3 #include <stdlib.hfa> 4 4 5 5 // swaps the data within two tree nodes -
tests/avltree/avl_test.c
rfb975a50 r455a7d5 1 1 #include "avl.h" 2 2 #include "avl-private.h" 3 #include <stdlib >3 #include <stdlib.hfa> 4 4 5 5 extern "C" { -
tests/complex.c
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2017 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // complex.c -- 8 // 6 // 7 // complex.c -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Wed May 24 22:07:31 2017 … … 12 12 // Last Modified On : Wed May 24 22:08:01 2017 13 13 // Update Count : 1 14 // 14 // 15 15 16 16 #include <stdio.h> 17 17 #include <complex.h> 18 18 #ifdef __CFA__ 19 #include <fstream >19 #include <fstream.hfa> 20 20 #endif // __CFA 21 21 -
tests/concurrent/coroutineYield.c
rfb975a50 r455a7d5 1 #include <fstream >2 #include <kernel >3 #include <stdlib >4 #include <thread >5 #include <time >1 #include <fstream.hfa> 2 #include <kernel.hfa>hfa> 3 #include <stdlib.hfa> 4 #include <thread.hfa> 5 #include <time.hfa> 6 6 7 7 #define __kick_rate 150000ul -
tests/concurrent/examples/boundedBufferEXT.c
rfb975a50 r455a7d5 12 12 // 13 13 14 #include <stdlib > // random15 #include <fstream >16 #include <kernel >17 #include <thread >14 #include <stdlib.hfa> // random 15 #include <fstream.hfa> 16 #include <kernel.hfa> 17 #include <thread.hfa> 18 18 #include <unistd.h> // getpid 19 19 -
tests/concurrent/examples/boundedBufferINT.c
rfb975a50 r455a7d5 12 12 // 13 13 14 #include <stdlib > // random15 #include <fstream >16 #include <kernel >17 #include <thread >14 #include <stdlib.hfa> // random 15 #include <fstream.hfa> 16 #include <kernel.hfa> 17 #include <thread.hfa> 18 18 #include <unistd.h> // getpid 19 19 -
tests/concurrent/examples/datingService.c
rfb975a50 r455a7d5 12 12 // 13 13 14 #include <stdlib > // random15 #include <fstream >16 #include <kernel >17 #include <thread >14 #include <stdlib.hfa> // random 15 #include <fstream.hfa> 16 #include <kernel.hfa> 17 #include <thread.hfa> 18 18 #include <unistd.h> // getpid 19 19 -
tests/concurrent/examples/matrixSum.c
rfb975a50 r455a7d5 1 // -*- Mode: C -*- 2 // 1 // -*- Mode: C -*- 2 // 3 3 // Cforall Version 1.0.0 Copyright (C) 2017 University of Waterloo 4 4 // 5 5 // The contents of this file are covered under the licence agreement in the 6 6 // file "LICENCE" distributed with Cforall. 7 // 8 // matrixSum.c -- 9 // 7 // 8 // matrixSum.c -- 9 // 10 10 // Author : Peter A. Buhr 11 11 // Created On : Mon Oct 9 08:29:28 2017 … … 13 13 // Last Modified On : Fri May 25 09:34:27 2018 14 14 // Update Count : 10 15 // 15 // 16 16 17 #include <fstream >18 #include <kernel >19 #include <thread >17 #include <fstream.hfa> 18 #include <kernel.hfa> 19 #include <thread.hfa> 20 20 21 21 thread Adder { -
tests/concurrent/examples/quickSort.c
rfb975a50 r455a7d5 13 13 // 14 14 15 #include <fstream >16 #include <stdlib >17 #include <kernel >18 #include <thread >15 #include <fstream.hfa> 16 #include <stdlib.hfa> 17 #include <kernel.hfa> 18 #include <thread.hfa> 19 19 #include <string.h> // strcmp 20 20 -
tests/concurrent/monitor.c
rfb975a50 r455a7d5 1 #include <fstream >2 #include <kernel >3 #include <monitor >4 #include <thread >1 #include <fstream.hfa> 2 #include <kernel.hfa> 3 #include <monitor.hfa> 4 #include <thread.hfa> 5 5 6 6 monitor global_t { -
tests/concurrent/multi-monitor.c
rfb975a50 r455a7d5 1 #include <fstream >2 #include <kernel >3 #include <monitor >4 #include <thread >1 #include <fstream.hfa> 2 #include <kernel.hfa> 3 #include <monitor.hfa> 4 #include <thread.hfa> 5 5 6 6 static int global12, global23, global13; -
tests/concurrent/preempt.c
rfb975a50 r455a7d5 1 #include <kernel >2 #include <thread >3 #include <time >1 #include <kernel.hfa>hfa> 2 #include <thread.hfa> 3 #include <time.hfa> 4 4 5 5 #include "long_tests.h" -
tests/concurrent/signal/block.c
rfb975a50 r455a7d5 7 7 8 8 9 #include <fstream >10 #include <kernel >11 #include <monitor >12 #include <stdlib >13 #include <thread >14 #include <time >9 #include <fstream.hfa> 10 #include <kernel.hfa>hfa> 11 #include <monitor.hfa> 12 #include <stdlib.hfa> 13 #include <thread.hfa> 14 #include <time.hfa> 15 15 16 16 #include "long_tests.h" -
tests/concurrent/signal/disjoint.c
rfb975a50 r455a7d5 1 #include <fstream >2 #include <kernel >3 #include <monitor >4 #include <thread >5 #include <time >1 #include <fstream.hfa> 2 #include <kernel.hfa>hfa> 3 #include <monitor.hfa> 4 #include <thread.hfa> 5 #include <time.hfa> 6 6 7 7 #include "long_tests.h" -
tests/concurrent/signal/wait.c
rfb975a50 r455a7d5 5 5 6 6 7 #include <fstream >8 #include <kernel >9 #include <monitor >10 #include <stdlib >11 #include <thread >12 #include <time >7 #include <fstream.hfa> 8 #include <kernel.hfa>hfa> 9 #include <monitor.hfa> 10 #include <stdlib.hfa> 11 #include <thread.hfa> 12 #include <time.hfa> 13 13 14 14 #define __kick_rate 12000ul -
tests/concurrent/thread.c
rfb975a50 r455a7d5 1 #include <fstream >2 #include <kernel >3 #include <stdlib >4 #include <thread >1 #include <fstream.hfa> 2 #include <kernel.hfa> 3 #include <stdlib.hfa> 4 #include <thread.hfa> 5 5 6 6 thread First { semaphore* lock; }; -
tests/concurrent/waitfor/barge.c
rfb975a50 r455a7d5 6 6 //--------------------------------------------------------- 7 7 8 #include <fstream >9 #include <kernel >10 #include <monitor >11 #include <stdlib >12 #include <thread >8 #include <fstream.hfa> 9 #include <kernel.hfa> 10 #include <monitor.hfa> 11 #include <stdlib.hfa> 12 #include <thread.hfa> 13 13 14 14 #include <stdbool.h> -
tests/concurrent/waitfor/dtor.c
rfb975a50 r455a7d5 4 4 //--------------------------------------------------------- 5 5 6 #include <fstream >7 #include <kernel >8 #include <monitor >9 #include <stdlib >10 #include <thread >6 #include <fstream.hfa> 7 #include <kernel.hfa> 8 #include <monitor.hfa> 9 #include <stdlib.hfa> 10 #include <thread.hfa> 11 11 12 12 #include <stdbool.h> -
tests/concurrent/waitfor/else.c
rfb975a50 r455a7d5 1 #include <fstream >2 #include <monitor >1 #include <fstream.hfa> 2 #include <monitor.hfa> 3 3 4 4 #include <stdbool.h> -
tests/concurrent/waitfor/parse.c
rfb975a50 r455a7d5 8 8 //---------------------------------------------------------------------------------------- 9 9 10 #include <monitor >10 #include <monitor.hfa> 11 11 12 12 monitor M {}; -
tests/concurrent/waitfor/recurse.c
rfb975a50 r455a7d5 4 4 //----------------------------------------------------------------- 5 5 6 #include <fstream >7 #include <kernel >8 #include <monitor >9 #include <stdlib >10 #include <thread >6 #include <fstream.hfa> 7 #include <kernel.hfa> 8 #include <monitor.hfa> 9 #include <stdlib.hfa> 10 #include <thread.hfa> 11 11 12 12 #include <stdbool.h> -
tests/concurrent/waitfor/simple.c
rfb975a50 r455a7d5 1 #include <fstream >2 #include <kernel >3 #include <monitor >4 #include <stdlib >5 #include <thread >1 #include <fstream.hfa> 2 #include <kernel.hfa> 3 #include <monitor.hfa> 4 #include <stdlib.hfa> 5 #include <thread.hfa> 6 6 7 7 #include <time.h> -
tests/concurrent/waitfor/statment.c
rfb975a50 r455a7d5 1 #include <fstream >2 #include <kernel >3 #include <monitor >4 #include <thread >1 #include <fstream.hfa> 2 #include <kernel.hfa> 3 #include <monitor.hfa> 4 #include <thread.hfa> 5 5 6 6 #include <stdbool.h> -
tests/concurrent/waitfor/when.c
rfb975a50 r455a7d5 4 4 //----------------------------------------------------------------- 5 5 6 #include <fstream >7 #include <kernel >8 #include <monitor >9 #include <stdlib >10 #include <thread >6 #include <fstream.hfa> 7 #include <kernel.hfa> 8 #include <monitor.hfa> 9 #include <stdlib.hfa> 10 #include <thread.hfa> 11 11 12 12 #include <stdbool.h> -
tests/coroutine/.in/fmtLines.txt
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2017 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // fmtLines.cc -- 8 // 6 // 7 // fmtLines.cc -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Sun Sep 17 21:56:15 2017 … … 12 12 // Last Modified On : Mon Sep 18 11:35:57 2017 13 13 // Update Count : 31 14 // 14 // 15 15 16 #include <fstream >17 #include <coroutine >16 #include <fstream.hfa> 17 #include <coroutine.hfa> 18 18 19 19 coroutine Format { -
tests/coroutine/fibonacci.c
rfb975a50 r455a7d5 15 15 // 16 16 17 #include <fstream >18 #include <coroutine >17 #include <fstream.hfa> 18 #include <coroutine.hfa> 19 19 20 20 coroutine Fibonacci { int fn; }; // used for communication -
tests/coroutine/fmtLines.c
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2017 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 6 // 7 7 // fmtLines.cc -- format characters into blocks of 4 and groups of 5 blocks per line 8 // 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Sun Sep 17 21:56:15 2017 … … 12 12 // Last Modified On : Tue May 15 12:25:33 2018 13 13 // Update Count : 42 14 // 14 // 15 15 16 #include <fstream >17 #include <coroutine >16 #include <fstream.hfa> 17 #include <coroutine.hfa> 18 18 19 19 coroutine Format { -
tests/coroutine/pingpong.c
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2017 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // pingpong.c -- 8 // 6 // 7 // pingpong.c -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Wed Sep 20 11:55:23 2017 … … 12 12 // Last Modified On : Wed Sep 20 13:41:39 2017 13 13 // Update Count : 26 14 // 14 // 15 15 16 #include <coroutine >17 #include <fstream >16 #include <coroutine.hfa> 17 #include <fstream.hfa> 18 18 19 19 coroutine PingPong { -
tests/coroutine/prodcons.c
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2017 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // prodcons.c -- 8 // 6 // 7 // prodcons.c -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Mon Sep 18 12:23:39 2017 … … 12 12 // Last Modified On : Tue Jan 2 12:17:01 2018 13 13 // Update Count : 47 14 // 14 // 15 15 16 #include <fstream >17 #include <coroutine >18 #include <stdlib > // random16 #include <fstream.hfa> 17 #include <coroutine.hfa> 18 #include <stdlib.hfa> // random 19 19 #include <unistd.h> // getpid 20 20 -
tests/coroutine/runningTotal.c
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2017 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // runningTotal.c -- 8 // 6 // 7 // runningTotal.c -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Wed Dec 6 08:05:27 2017 … … 12 12 // Last Modified On : Wed Dec 6 08:09:24 2017 13 13 // Update Count : 2 14 // 14 // 15 15 16 #include <fstream >17 #include <coroutine >16 #include <fstream.hfa> 17 #include <coroutine.hfa> 18 18 19 19 coroutine RunTotal { // input numbers and return running total -
tests/div.c
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // div.c -- 8 // 6 // 7 // div.c -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Tue Aug 8 16:28:43 2017 … … 12 12 // Last Modified On : Thu Dec 7 09:06:52 2017 13 13 // Update Count : 18 14 // 14 // 15 15 16 #include <fstream >17 #include <stdlib > // div16 #include <fstream.hfa> 17 #include <stdlib.hfa> // div 18 18 19 19 struct T { int i; }; -
tests/except-2.c
rfb975a50 r455a7d5 2 2 3 3 4 #include <stdlib >4 #include <stdlib.hfa> 5 5 #include "except-mac.h" 6 6 -
tests/fstream_test.c
rfb975a50 r455a7d5 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // fstream_test.c -- 7 // fstream_test.c -- 8 8 // 9 9 // Author : Peter A. Buhr … … 14 14 // 15 15 16 #include <fstream >16 #include <fstream.hfa> 17 17 18 18 int main( void ) { -
tests/function-operator.c
rfb975a50 r455a7d5 10 10 // Created On : Fri Aug 25 15:21:11 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Dec 7 12:42:26 201713 // Update Count : 612 // Last Modified On : Thu Aug 2 09:27:53 2018 13 // Update Count : 8 14 14 // 15 15 16 #include <fstream >17 #include <stdlib >16 #include <fstream.hfa> 17 #include <stdlib.hfa> 18 18 19 19 #define length(array) (sizeof((array))/sizeof((array)[0])) … … 92 92 void ?{}(ostream_iterator & iter, ofstream * out) { 93 93 iter.out = new(out); 94 }94 } 95 95 // no destructor, memory leak. This is necessary for this to work at the moment, since 96 96 // *? requires its parameter by value and returns a reference. … … 168 168 transform(begin(x), end(x), begin(x), ×2); 169 169 copy(begin(x), end(x), out_iter); 170 171 // REMOVE WHEN ?* PROBLEM FIXED. 172 delete(out_iter.out); 170 173 } 171 174 -
tests/genericUnion.c
rfb975a50 r455a7d5 1 #include <limits >1 #include <limits.hfa> 2 2 3 3 forall(otype T) -
tests/gmp.c
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // gmp.c -- 8 // 6 // 7 // gmp.c -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Tue Apr 19 08:55:51 2016 … … 12 12 // Last Modified On : Thu Sep 28 18:33:51 2017 13 13 // Update Count : 555 14 // 14 // 15 15 16 16 // NOTE: UBUNTU DOES NOT SUPPORT GMP MULTILIB, SO ONLY 64-BIT GMP IS TESTED. 17 17 18 #include <gmp >18 #include <gmp.hfa> 19 19 20 20 int main( void ) { -
tests/hello.c
rfb975a50 r455a7d5 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // hello.c -- 7 // hello.c -- 8 8 // 9 9 // Author : Peter A. Buhr … … 14 14 // 15 15 16 #include <fstream >16 #include <fstream.hfa> 17 17 18 18 int main() { -
tests/identity.c
rfb975a50 r455a7d5 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // identity.c -- 7 // identity.c -- 8 8 // 9 9 // Author : Peter A. Buhr … … 14 14 // 15 15 16 #include <fstream >16 #include <fstream.hfa> 17 17 18 18 forall( otype T ) -
tests/ifwhileCtl.c
rfb975a50 r455a7d5 14 14 // 15 15 16 #include <fstream >16 #include <fstream.hfa> 17 17 18 18 int f( int r ) { return r; } -
tests/io1.c
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // io1.c -- 8 // 6 // 7 // io1.c -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Wed Mar 2 16:56:02 2016 … … 12 12 // Last Modified On : Thu May 24 21:17:56 2018 13 13 // Update Count : 104 14 // 14 // 15 15 16 #include <fstream >16 #include <fstream.hfa> 17 17 18 18 int main() { -
tests/io2.c
rfb975a50 r455a7d5 14 14 // 15 15 16 #include <fstream >16 #include <fstream.hfa> 17 17 18 18 #define xstr(s) str(s) -
tests/limits.c
rfb975a50 r455a7d5 14 14 // 15 15 16 #include <limits >16 #include <limits.hfa> 17 17 18 18 // Integral Constants -
tests/literals.c
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2017 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // literals.c -- 8 // 6 // 7 // literals.c -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Sat Sep 9 16:34:38 2017 … … 12 12 // Last Modified On : Sun Jul 1 15:12:15 2018 13 13 // Update Count : 137 14 // 14 // 15 15 16 16 #ifdef __CFA__ 17 17 #include <stdint.h> 18 #include <fstream >18 #include <fstream.hfa> 19 19 20 20 void f( char v ) { sout | "char " | v | endl; } … … 221 221 -0123456789.0123456789E+09L32; -0123456789.0123456789E+09L64; -0123456789.0123456789E+09L80; -0123456789.0123456789E+09L128; 222 222 0123456789.0123456789E-09L32; 0123456789.0123456789E-09L64; 0123456789.0123456789E-09L80; 0123456789.0123456789E-09L128; 223 223 224 224 0x0123456789.p09l32; 0x0123456789.p09l64; 0x0123456789.p09l80; 0x0123456789.p09l128; 225 225 +0x0123456789.p09l32; +0x0123456789.p09l64; +0x0123456789.p09l80; +0x0123456789.p09l128; -
tests/math1.c
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // math1.c -- 8 // 6 // 7 // math1.c -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Fri Apr 22 14:59:21 2016 … … 12 12 // Last Modified On : Thu May 24 21:01:15 2018 13 13 // Update Count : 85 14 // 14 // 15 15 16 #include <fstream >17 #include <math >16 #include <fstream.hfa> 17 #include <math.hfa> 18 18 19 19 int main( void ) { -
tests/math2.c
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // math2.c -- 8 // 6 // 7 // math2.c -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Fri Apr 22 14:59:21 2016 … … 12 12 // Last Modified On : Thu May 24 21:06:10 2018 13 13 // Update Count : 82 14 // 14 // 15 15 16 #include <fstream >17 #include <math >16 #include <fstream.hfa> 17 #include <math.hfa> 18 18 19 19 int main( void ) { -
tests/math3.c
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // math3.c -- 8 // 6 // 7 // math3.c -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Fri Apr 22 14:59:21 2016 … … 12 12 // Last Modified On : Thu May 24 21:06:12 2018 13 13 // Update Count : 82 14 // 14 // 15 15 16 #include <fstream >17 #include <math >16 #include <fstream.hfa> 17 #include <math.hfa> 18 18 19 19 int main( void ) { -
tests/math4.c
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // math4.c -- 8 // 6 // 7 // math4.c -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Thu May 24 20:56:54 2018 … … 12 12 // Last Modified On : Thu May 24 20:58:06 2018 13 13 // Update Count : 2 14 // 14 // 15 15 16 #include <fstream >17 #include <math >16 #include <fstream.hfa> 17 #include <math.hfa> 18 18 19 19 int main( void ) { -
tests/maybe.c
rfb975a50 r455a7d5 15 15 16 16 #include <assert.h> 17 #include <containers/maybe >17 #include <containers/maybe.hfa> 18 18 19 19 void checkPredicates() { -
tests/minmax.c
rfb975a50 r455a7d5 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // minmax.c -- 7 // minmax.c -- 8 8 // 9 9 // Author : Peter A. Buhr … … 14 14 // 15 15 16 #include <fstream >17 #include <stdlib > // min, max16 #include <fstream.hfa> 17 #include <stdlib.hfa> // min, max 18 18 19 19 int main( void ) { -
tests/preempt_longrun/Makefile.am
rfb975a50 r455a7d5 32 32 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt} -I.. -I. -DTEST_$(shell cat .type | tr a-z A-Z) 33 33 CFLAGS = ${BUILD_FLAGS} 34 CC = ${top_builddir}/src/driver/cfa34 CC = @CFACC@ 35 35 36 36 TESTS = block coroutine create disjoint enter enter3 processor stack wait yield -
tests/preempt_longrun/Makefile.in
rfb975a50 r455a7d5 91 91 build_triplet = @build@ 92 92 host_triplet = @host@ 93 subdir = src/tests/preempt_longrun93 subdir = tests/preempt_longrun 94 94 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 95 am__aclocal_m4_deps = $(top_srcdir)/configure.ac 95 am__aclocal_m4_deps = $(top_srcdir)/automake/cfa.m4 \ 96 $(top_srcdir)/configure.ac 96 97 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 97 98 $(ACLOCAL_M4) … … 337 338 AWK = @AWK@ 338 339 BACKEND_CC = @BACKEND_CC@ 339 CC = ${top_builddir}/src/driver/cfa 340 BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@ 341 CC = @CFACC@ 340 342 CCAS = @CCAS@ 341 343 CCASDEPMODE = @CCASDEPMODE@ 342 344 CCASFLAGS = @CCASFLAGS@ 343 345 CCDEPMODE = @CCDEPMODE@ 346 CFACC = @CFACC@ 347 CFACPP = @CFACPP@ 344 348 CFA_BACKEND_CC = @CFA_BACKEND_CC@ 345 349 CFA_BINDIR = @CFA_BINDIR@ … … 358 362 DEFS = @DEFS@ 359 363 DEPDIR = @DEPDIR@ 364 DRIVER_DIR = @DRIVER_DIR@ 360 365 ECHO_C = @ECHO_C@ 361 366 ECHO_N = @ECHO_N@ … … 373 378 LEXLIB = @LEXLIB@ 374 379 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ 380 LIBCFA_TARGET_DIRS = @LIBCFA_TARGET_DIRS@ 381 LIBCFA_TARGET_MAKEFILES = @LIBCFA_TARGET_MAKEFILES@ 375 382 LIBOBJS = @LIBOBJS@ 376 383 LIBS = @LIBS@ 377 384 LTLIBOBJS = @LTLIBOBJS@ 378 MACHINE_TYPE = @MACHINE_TYPE@379 385 MAKEINFO = @MAKEINFO@ 380 386 MKDIR_P = @MKDIR_P@ … … 392 398 SHELL = @SHELL@ 393 399 STRIP = @STRIP@ 400 TARGET_HOSTS = @TARGET_HOSTS@ 394 401 VERSION = @VERSION@ 395 402 YACC = @YACC@ … … 474 481 esac; \ 475 482 done; \ 476 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/tests/preempt_longrun/Makefile'; \483 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/preempt_longrun/Makefile'; \ 477 484 $(am__cd) $(top_srcdir) && \ 478 $(AUTOMAKE) --foreign src/tests/preempt_longrun/Makefile485 $(AUTOMAKE) --foreign tests/preempt_longrun/Makefile 479 486 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 480 487 @case '$?' in \ -
tests/preempt_longrun/create.c
rfb975a50 r455a7d5 1 #include <kernel >2 #include <thread >3 #include <time >1 #include <kernel.hfa> 2 #include <thread.hfa> 3 #include <time.hfa> 4 4 5 5 #include "long_tests.h" -
tests/preempt_longrun/enter.c
rfb975a50 r455a7d5 1 #include <kernel >2 #include <monitor >3 #include <thread >4 #include <time >1 #include <kernel.hfa> 2 #include <monitor.hfa> 3 #include <thread.hfa> 4 #include <time.hfa> 5 5 6 6 #define __kick_rate 75000ul -
tests/preempt_longrun/enter3.c
rfb975a50 r455a7d5 1 #include <kernel >2 #include <monitor >3 #include <thread >4 #include <time >1 #include <kernel.hfa> 2 #include <monitor.hfa> 3 #include <thread.hfa> 4 #include <time.hfa> 5 5 6 6 #define __kick_rate 75000ul -
tests/preempt_longrun/processor.c
rfb975a50 r455a7d5 1 #include <kernel >2 #include <thread >3 #include <time >1 #include <kernel.hfa> 2 #include <thread.hfa> 3 #include <time.hfa> 4 4 5 5 #include <unistd.h> -
tests/preempt_longrun/stack.c
rfb975a50 r455a7d5 1 #include <kernel >2 #include <math >3 #include <thread >4 #include <time >1 #include <kernel.hfa> 2 #include <math.hfa> 3 #include <thread.hfa> 4 #include <time.hfa> 5 5 6 6 #define __kick_rate 5000000ul -
tests/preempt_longrun/yield.c
rfb975a50 r455a7d5 1 #include <kernel >2 #include <thread >3 #include <time >1 #include <kernel.hfa> 2 #include <thread.hfa> 3 #include <time.hfa> 4 4 5 5 #define __kick_rate 550000ul -
tests/pybin/tools.py
rfb975a50 r455a7d5 52 52 # Remove 1 or more files silently 53 53 def rm( files ): 54 try: 54 if isinstance( files, basestring ): 55 sh("rm -f %s > /dev/null 2>&1" % files ) 56 else: 55 57 for file in files: 56 58 sh("rm -f %s > /dev/null 2>&1" % file ) 57 except TypeError:58 sh("rm -f %s > /dev/null 2>&1" % files )59 59 60 60 # Create 1 or more directory 61 61 def mkdir( files ): 62 try: 62 if isinstance( files, basestring ): 63 sh("mkdir -p %s" % os.path.dirname(files) ) 64 else: 63 65 for file in files: 64 66 sh("mkdir -p %s" % os.path.dirname(file) ) 65 except TypeError: 66 sh("mkdir -p %s" % os.path.dirname(files) ) 67 67 68 68 69 def chdir( dest = __main__.__file__ ): … … 100 101 '-s' if silent else '', 101 102 test_param, 103 settings.arch.flags, 102 104 settings.debug.flags, 105 settings.install.flags, 103 106 flags, 104 107 target, -
tests/quoted_keyword.c
rfb975a50 r455a7d5 14 14 // 15 15 16 #include <fstream >16 #include <fstream.hfa> 17 17 18 18 struct { -
tests/raii/dtor-early-exit.c
rfb975a50 r455a7d5 14 14 // 15 15 16 #include <fstream >17 #include <stdlib >16 #include <fstream.hfa> 17 #include <stdlib.hfa> 18 18 extern "C" { 19 19 #define false ((int)0) // until stdbool.h works -
tests/raii/globals.c
rfb975a50 r455a7d5 1 #include <fstream >1 #include <fstream.hfa> 2 2 3 3 struct value_t { -
tests/random.c
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // random.c -- 8 // 6 // 7 // random.c -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Tue Jul 5 21:29:30 2016 … … 12 12 // Last Modified On : Tue Jan 2 12:19:34 2018 13 13 // Update Count : 19 14 // 14 // 15 15 16 #include <fstream >17 #include <stdlib > // random16 #include <fstream.hfa> 17 #include <stdlib.hfa> // random 18 18 #include <unistd.h> // getpid 19 19 -
tests/rational.c
rfb975a50 r455a7d5 14 14 // 15 15 16 #include <rational >17 #include <limits >18 #include <stdlib >19 #include <fstream >16 #include <rational.hfa> 17 #include <limits.hfa> 18 #include <stdlib.hfa> 19 #include <fstream.hfa> 20 20 21 21 // UNNECESSARY, FIX ME -
tests/result.c
rfb975a50 r455a7d5 15 15 16 16 #include <assert.h> 17 #include <containers/result >17 #include <containers/result.hfa> 18 18 19 19 void checkPredicates() { -
tests/searchsort.c
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // searchsort.c -- 8 // 6 // 7 // searchsort.c -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Thu Feb 4 18:17:50 2016 … … 12 12 // Last Modified On : Tue Jan 2 08:01:17 2018 13 13 // Update Count : 100 14 // 14 // 15 15 16 #include <fstream >17 #include <stdlib > // bsearch, qsort16 #include <fstream.hfa> 17 #include <stdlib.hfa> // bsearch, qsort 18 18 #include <stdlib.h> // C version of bsearch 19 19 -
tests/shortCircuit.c
rfb975a50 r455a7d5 22 22 } 23 23 24 #include <fstream >24 #include <fstream.hfa> 25 25 26 26 struct test_t { -
tests/sum.c
rfb975a50 r455a7d5 11 11 // Created On : Wed May 27 17:56:53 2015 12 12 // Last Modified By : Peter A. Buhr 13 // Last Modified On : Sun Jun 3 19:23:41201814 // Update Count : 27 813 // Last Modified On : Thu Aug 2 08:03:09 2018 14 // Update Count : 279 15 15 // 16 16 17 #include <fstream >18 #include <stdlib >17 #include <fstream.hfa> 18 #include <stdlib.hfa> 19 19 20 20 void ?{}( int & c, zero_t ) { c = 0; } // not in prelude … … 115 115 sout | "sum from" | low | "to" | High | "is" 116 116 | sum( size, gs.x ) | ", check" | (int)s | endl; // add field array in generic type 117 delete( gs.x ); 117 118 } // main 118 119 -
tests/swap.c
rfb975a50 r455a7d5 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // swap.c -- 7 // swap.c -- 8 8 // 9 9 // Author : Peter A. Buhr … … 14 14 // 15 15 16 #include <fstream >17 #include <stdlib > // swap16 #include <fstream.hfa> 17 #include <stdlib.hfa> // swap 18 18 19 19 int main( void ) { -
tests/test.py
rfb975a50 r455a7d5 85 85 # create a parser with the arguments for the tests script 86 86 parser = argparse.ArgumentParser(description='Script which runs cforall tests') 87 parser.add_argument('--debug', help='Run all tests in debug or release', type=yes_no, default='no') 87 parser.add_argument('--debug', help='Run all tests in debug or release', type=yes_no, default='yes') 88 parser.add_argument('--install', help='Run all tests based on installed binaries or tree binaries', type=yes_no, default='no') 88 89 parser.add_argument('--arch', help='Test for specific architecture', type=str, default='') 89 90 parser.add_argument('--dry-run', help='Don\'t run the tests, only output the commands', action='store_true') … … 97 98 parser.add_argument('tests', metavar='test', type=str, nargs='*', help='a list of tests to run') 98 99 99 options = parser.parse_args() 100 try: 101 options = parser.parse_args() 102 except: 103 print('ERROR: invalid arguments', file=sys.stderr) 104 parser.print_help(sys.stderr) 105 sys.exit(1) 100 106 101 107 # script must have at least some tests to run or be listing … … 285 291 286 292 else : 293 # check the build configuration works 294 settings.validate() 295 287 296 options.jobs, forceJobs = jobCount( options, tests ) 288 297 settings.updateMakeCmd(forceJobs, options.jobs) -
tests/time.c
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // time.c -- 8 // 6 // 7 // time.c -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Tue Mar 27 17:24:56 2018 … … 12 12 // Last Modified On : Fri Apr 6 11:27:23 2018 13 13 // Update Count : 16 14 // 14 // 15 15 16 #include "time "17 #include <fstream >16 #include "time.hfa" 17 #include <fstream.hfa> 18 18 19 19 int main() { -
tests/tuple/tupleAssign.c
rfb975a50 r455a7d5 14 14 // 15 15 16 #include <fstream >16 #include <fstream.hfa> 17 17 18 18 int main() { -
tests/tuple/tupleVariadic.c
rfb975a50 r455a7d5 9 9 // Author : Rob Schluntz 10 10 // Created On : Fri Dec 16 10:25:35 2016 11 // Last Modified By : Rob Schluntz12 // Last Modified On : Fri Dec 21 14:42:48 201613 // Update Count : 211 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Aug 2 09:24:04 2018 13 // Update Count : 6 14 14 // 15 16 #include <stdlib.hfa> 15 17 16 18 void func(void) { … … 28 30 printf("called process(double) %g\n", x); 29 31 } 30 31 forall( dtype T, ttype Params | sized(T) | { void ?{}(T &, Params); } )32 T * new(Params p);33 32 34 33 struct array { … … 66 65 a.data[2] = a2; 67 66 printf("called ?{} with a: %d %d %d\n", a0, a1, a2); 67 } 68 69 void ^?{}(array & a) { 70 free(a.data); 68 71 } 69 72 … … 126 129 bar(x); 127 130 } 131 132 delete(ptr); 133 delete(x4); 134 delete(x3); 135 delete(x2); 136 delete(x1); 137 delete(x0); 128 138 } 129 139 … … 131 141 // tab-width: 4 // 132 142 // End: // 133 -
tests/user_literals.c
rfb975a50 r455a7d5 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2017 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // user_literals.c -- 8 // 6 // 7 // user_literals.c -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Wed Sep 6 21:40:50 2017 … … 12 12 // Last Modified On : Sun Apr 29 16:51:42 2018 13 13 // Update Count : 54 14 // 14 // 15 15 16 #include <fstream >16 #include <fstream.hfa> 17 17 #include <wchar.h> 18 18 #include <uchar.h> -
tests/vector.c
rfb975a50 r455a7d5 14 14 // 15 15 16 #include <fstream >17 #include <vector >16 #include <fstream.hfa> 17 #include <vector.hfa> 18 18 19 19 #undef assert -
tests/virtualCast.c
rfb975a50 r455a7d5 9 9 */ 10 10 11 #include <stdlib >11 #include <stdlib.hfa> 12 12 #include <assert.h> 13 13
Note:
See TracChangeset
for help on using the changeset viewer.