Merge branch 'master' of gitlab.com:gambas/gambas

This commit is contained in:
Benoît Minisini 2022-12-20 01:45:44 +01:00
commit 1d56aa7dcf
4 changed files with 6 additions and 13 deletions

View file

@ -1,7 +0,0 @@
' Gambas class file
Fast Static Public Function _call(sMessage As String)
Print sMessage
End

View file

@ -401,7 +401,7 @@ End
Fast Public Sub Main()
Inform(("This is the Gambas Selftest. To run it in the IDE hit F4."))
Print ("This is the Gambas Selftest. To run it in the IDE hit F4.")
' Dim iResult As Integer = GambasSelftests.FastTests()
'

View file

@ -159,13 +159,13 @@ Fast Public Function FastTests() As Integer
If Exist(Application.Path &/ ".src" &/ "TestSources" &/ "mTest.module") = False Then
'Message.Error("Cannot open source file for testing! Test must be executed from GambasTest project root folder.")
Inform(("Cannot open source file for testing! Test must be executed from GambasTest project root folder."))
Return -1
Error.Raise(("Cannot open source file for testing! Test must be executed from GambasTest project root folder."))
'Return -1
Endif
If DebuggingEnabled = False Then
Inform(("GambasTester cannot be run without debugging information! Recompile debugging information enabled."))
Return -1
Error.Raise(("GambasTester cannot be run without debugging information! Recompile debugging information enabled."))
'Return -1
Endif
' ------------------------------------------------- End Prerequisites

View file

@ -1,6 +1,6 @@
[TestSuites]
Count=4
TestWith=0
TestWith=1
Default="Errorhandling.GeneralError"
[TestSuites/1]