Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
clean-and-itasks
iTasks-SDK
Commits
8a74ff03
Commit
8a74ff03
authored
Jun 25, 2018
by
Bas Lijnse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed deprecated CI test runner.
parent
65f2be09
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
90 deletions
+0
-90
Tools/RunUnitTestsForCI.icl
Tools/RunUnitTestsForCI.icl
+0
-30
Tools/RunUnitTestsForCI.prj.default
Tools/RunUnitTestsForCI.prj.default
+0
-60
No files found.
Tools/RunUnitTestsForCI.icl
deleted
100644 → 0
View file @
65f2be09
module
RunUnitTestsForCI
/*
* This program runs all unit tests and outputs their results to stdout
* This way all testing code specified as tasks can be easily tested in our continous integration pipeline.
*/
import
iTasks
import
iTasks
.
Extensions
.
Development
.
Testing
import
iTasks
.
Internal
.
Test
.
Definition
import
System
.
FilePath
import
System
.
CommandLine
DEFAULT_TESTS_PATH
:==
"../Tests/TestPrograms"
runAllTests
=
determineTestDir
>>-
\
testDir
->
get
(
mapRead
(
filter
((==)
"icl"
o
takeExtension
))
(
sdsFocus
testDir
directoryListing
))
>>-
\
modules
->
sequence
"Running all test programs"
[
runTestModule
(
testDir
</>
m
)
>>-
traceValue
\\
m
<-
modules
]
>>-
\
results
->
shutDown
(
if
(
noneFailed
results
)
0
1
)
determineTestDir
=
accWorld
getCommandLine
@
\
args
->
case
args
of
[_,
path
]
=
path
_
=
DEFAULT_TESTS_PATH
Start
world
=
runTasks
runAllTests
world
Tools/RunUnitTestsForCI.prj.default
deleted
100644 → 0
View file @
65f2be09
Version: 1.4
Global
ProjectRoot: .
Target: iTasks
Exec: {Project}/RunUnitTestsForCI
CodeGen
CheckStacks: False
CheckIndexes: True
Application
HeapSize: 209715200
StackSize: 5120000
ExtraMemory: 8192
IntialHeapSize: 204800
HeapSizeMultiplier: 4096
ShowExecutionTime: False
ShowGC: False
ShowStackSize: False
MarkingCollector: False
DisableRTSFlags: False
StandardRuntimeEnv: True
Profile
Memory: False
MemoryMinimumHeapSize: 0
Time: False
Stack: False
Dynamics: True
GenericFusion: False
DescExL: False
Output
Output: ShowConstructors
Font: Monaco
FontSize: 9
WriteStdErr: False
Link
LinkMethod: Static
GenerateRelocations: False
GenerateSymbolTable: False
GenerateLinkMap: False
LinkResources: False
ResourceSource:
GenerateDLL: False
ExportedNames:
Paths
Path: {Project}
Precompile:
Postlink:
MainModule
Name: RunUnitTestsForCI
Dir: {Project}
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
StrictnessAnalysis: True
ListTypes: StrictExportTypes
ListAttributes: True
Warnings: True
Verbose: True
ReadableABC: False
ReuseUniqueNodes: True
Fusion: False
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment