mirror of
https://github.com/irmen/prog8.git
synced 2024-11-26 11:49:22 +00:00
+ same warning on the other "TestCompilerXyz" file
This commit is contained in:
parent
84ea3b9788
commit
006059438f
@ -15,6 +15,14 @@ import prog8.compiler.target.Cx16Target
|
|||||||
import prog8.compiler.compileProgram
|
import prog8.compiler.compileProgram
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ATTENTION: this is just kludge!
|
||||||
|
* They are not really unit tests, but rather tests of the whole process,
|
||||||
|
* from source file loading all the way through to running 64tass.
|
||||||
|
* What's more: in case of failure (to compile and assemble) - which is when tests should help you -
|
||||||
|
* these tests will actually be ignored (ie. NOT fail),
|
||||||
|
* because in the code there are calls to Process.exit, making it essentially untestable.
|
||||||
|
*/
|
||||||
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
|
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
|
||||||
class TestCompilerOnCharLit {
|
class TestCompilerOnCharLit {
|
||||||
val workingDir = Path("").absolute() // Note: Path(".") does NOT work..!
|
val workingDir = Path("").absolute() // Note: Path(".") does NOT work..!
|
||||||
|
Loading…
Reference in New Issue
Block a user