Commit 437ccc3f authored by Bas Lijnse's avatar Bas Lijnse

Added some missing project files, and changed test runner tool to make it...

Added some missing project files, and changed test runner tool to make it possible to integrate it in the nightly build scripts
parent fc558d33
Version: 1.4
Global
ProjectRoot: .
Target: iTasks
Exec: {Project}/CoreEditors.exe
CodeGen
CheckStacks: False
CheckIndexes: True
Application
HeapSize: 20971520
StackSize: 512000
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
DescExL: False
Output
Output: NoConsole
Font: Monaco
FontSize: 9
WriteStdErr: False
Link
LinkMethod: Static
GenerateRelocations: False
GenerateSymbolTable: False
GenerateLinkMap: False
LinkResources: False
ResourceSource:
GenerateDLL: False
ExportedNames:
Paths
Path: {Project}
Path: {Project}/..
Precompile:
Postlink:
MainModule
Name: CoreEditors
Dir: {Project}
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
StrictnessAnalysis: True
ListTypes: StrictExportTypes
ListAttributes: True
Warnings: True
Verbose: True
ReadableABC: False
ReuseUniqueNodes: True
Fusion: False
Version: 1.4
Global
ProjectRoot: .
Target: iTasks
Exec: {Project}/CoreTasks.exe
CodeGen
CheckStacks: False
CheckIndexes: True
Application
HeapSize: 20971520
StackSize: 512000
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
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}
Path: {Project}/..
Precompile:
Postlink:
MainModule
Name: CoreTasks
Dir: {Project}
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
StrictnessAnalysis: True
ListTypes: StrictExportTypes
ListAttributes: True
Warnings: True
Verbose: True
ReadableABC: False
ReuseUniqueNodes: True
Fusion: False
Version: 1.4
Global
ProjectRoot: .
Target: iTasks
Exec: {Project}/Layout.exe
CodeGen
CheckStacks: False
CheckIndexes: True
Application
HeapSize: 20971520
StackSize: 512000
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
DescExL: False
Output
Output: NoConsole
Font: Monaco
FontSize: 9
WriteStdErr: False
Link
LinkMethod: Static
GenerateRelocations: False
GenerateSymbolTable: False
GenerateLinkMap: False
LinkResources: False
ResourceSource:
GenerateDLL: False
ExportedNames:
Paths
Path: {Project}
Path: {Project}/..
Precompile:
Postlink:
MainModule
Name: Layout
Dir: {Project}
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
StrictnessAnalysis: True
ListTypes: StrictExportTypes
ListAttributes: True
Warnings: True
Verbose: True
ReadableABC: False
ReuseUniqueNodes: True
Fusion: False
......@@ -2,7 +2,7 @@ Version: 1.4
Global
ProjectRoot: .
Target: iTasks
Exec: {Project}/RunTests.exe
Exec: {Project}/Misc.exe
CodeGen
CheckStacks: False
CheckIndexes: True
......@@ -41,10 +41,11 @@ Global
ExportedNames:
Paths
Path: {Project}
Path: {Project}/..
Precompile:
Postlink:
MainModule
Name: RunTests
Name: Misc
Dir: {Project}
Compiler
NeverMemoryProfile: False
......
Version: 1.4
Global
ProjectRoot: .
Target: iTasks
Exec: {Project}/TaskEvaluation.exe
CodeGen
CheckStacks: False
CheckIndexes: True
Application
HeapSize: 20971520
StackSize: 512000
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
DescExL: False
Output
Output: NoConsole
Font: Monaco
FontSize: 9
WriteStdErr: False
Link
LinkMethod: Static
GenerateRelocations: False
GenerateSymbolTable: False
GenerateLinkMap: False
LinkResources: False
ResourceSource:
GenerateDLL: False
ExportedNames:
Paths
Path: {Project}
Path: {Project}/..
Precompile:
Postlink:
MainModule
Name: TaskEvaluation
Dir: {Project}
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
StrictnessAnalysis: True
ListTypes: StrictExportTypes
ListAttributes: True
Warnings: True
Verbose: True
ReadableABC: False
ReuseUniqueNodes: True
Fusion: False
......@@ -7,14 +7,24 @@ import iTasks
import iTasks.Extensions.Development.Testing
import iTasks.Internal.Test.Definition
import System.FilePath
import System.CommandLine
TESTS_PATH :== "../Tests/TestPrograms"
DEFAULT_TESTS_PATH :== "../Tests/TestPrograms"
runAllTests
= get (mapRead (filter ((==) "icl" o takeExtension)) (sdsFocus TESTS_PATH directoryListing))
= determineTestDir
>>- \testDir ->
get (mapRead (filter ((==) "icl" o takeExtension)) (sdsFocus testDir directoryListing))
>>- \modules ->
sequence "Running all tests" [runTestModule (TESTS_PATH </> m) >>- traceValue \\ m <- 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment