Skip to content

Null object exception #4

@HurryStarfish

Description

@HurryStarfish

I downloaded SCT and tried to use it on the tests that come with NG.

I changed the bottom part of sct.bmx to

'adjust compiler path for this test class
TTestCompiler.baseConfig.Add("bmk_path", "C:\Programmierung\BlitzMax-NG\bin\bmk.exe")

'adjust base config for all instances of that type
TTestCompiler.baseConfig.Add("app_type", "console")
TTestCompiler.baseConfig.Add("app_arch", "x86") 'unused yet
TTestCompiler.baseConfig.Add("debug", "0")
TTestCompiler.baseConfig.Add("threaded", "0")
TTestCompiler.baseConfig.Add("deleteBinaries", "1") 'delete binaries afterwards
TTestCompiler.baseConfig.Add("make_mods", "0") 
TTestCompiler.baseConfig.Add("quick", "0") 
TTestCompiler.baseConfig.fileUri = "baseConfig"

Global testManager:TTestManager = New TTestManager
testManager.AddTestsFromDirectory("C:\Programmierung\BlitzMax-NG\src\bcc\tests")
testManager.RunTests()

and ran it, but it caused a null object exception in function StandardIOAvailable. Same thing happens if I use the bmk path to the legacy BlitzMax compiler instead (I compiled SCT in legacy as well).
Am I doing something wrong here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions