add tag to toggle between online and offline tests

This commit is contained in:
Carlosokumu 2024-10-07 23:31:30 +03:00
parent 35acf75f6b
commit 5937e7ea9d
Signed by untrusted user: carlos
GPG Key ID: 7BD6BC8160A5C953
2 changed files with 10 additions and 0 deletions

5
engine/tag_offline.go Normal file
View File

@ -0,0 +1,5 @@
// +build !online
package engine
const OnlineTestEnabled = false

5
engine/tag_online.go Normal file
View File

@ -0,0 +1,5 @@
// +build online
package engine
const OnlineTestEnabled = true