1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

usecache: get all tests running with -usecache enabled by default (p.1) (#7699)

This commit is contained in:
joe-conigliaro
2021-01-20 16:04:59 +11:00
committed by GitHub
parent b3a4f746a2
commit 97ebecc5f4
23 changed files with 261 additions and 119 deletions

View File

@@ -25,7 +25,9 @@ fn testsuite_begin() {
}
fn test_a_simple_vweb_app_can_be_compiled() {
did_server_compile := os.system('$vexe -g -o $serverexe vlib/vweb/tests/vweb_test_server.v')
// did_server_compile := os.system('$vexe -g -o $serverexe vlib/vweb/tests/vweb_test_server.v')
// TODO: find out why it does not compile with -usecache and -g
did_server_compile := os.system('$vexe -o $serverexe vlib/vweb/tests/vweb_test_server.v')
assert did_server_compile == 0
assert os.exists(serverexe)
}