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

move compiler tests from compiler/ to v/

This commit is contained in:
Alexander Medvednikov 2020-03-27 18:01:46 +01:00
parent 95e67c9502
commit eed7c91e87
132 changed files with 18 additions and 18 deletions

View File

@ -20,8 +20,8 @@ const (
'./vlib/arrays/arrays.v',
'./vlib/arrays/arrays_test.v',
'./vlib/builtin/js/hashmap.v',
'./vlib/compiler/tests/fn_variadic_test.v',
'./vlib/compiler/tests/generic_test.v',
'./vlib/v/tests/fn_variadic_test.v',
'./vlib/v/tests/generic_test.v',
'./vlib/crypto/aes/aes.v',
'./vlib/crypto/aes/aes_cbc.v',
'./vlib/crypto/aes/block_generic.v',

View File

@ -7,7 +7,7 @@ fn test_all() {
}
vexe := os.getenv('VEXE')
vroot := os.dir(vexe)
dir := os.join_path(vroot,'vlib/v/tests')
dir := os.join_path(vroot,'vlib/v/tests/inout')
files := os.ls(dir) or {
panic(err)
}

View File

@ -1,5 +1,5 @@
import compiler.tests.local
import v.tests.local
fn test_local_module_is_callable() {
assert local.local_fn()

View File

@ -1,7 +1,7 @@
// Build and run files in ./prod/ folder, comparing their output to *.expected.txt files.
// (Similar to REPL tests, but in -prod mode.)
// import os
import compiler.tests.repl.runner
import v.tests.repl.runner
import benchmark
fn test_all_v_prod_files() {

View File

@ -1,3 +1,3 @@
import compiler.tests.modules.acommentedmodule
import v.tests.modules.acommentedmodule
===output===
vlib/compiler/tests/modules/acommentedmodule/commentedfile.v:7:1: bad module definition: vlib/compiler/tests/modules/acommentedmodule/commentedfile.v imports module "compiler.tests.modules.acommentedmodule" but vlib/compiler/tests/modules/acommentedmodule/commentedfile.v is defined as module `main`

Some files were not shown because too many files have changed in this diff Show More