Skip to content

Commit

Permalink
ci: add a skip list in compiler_test.v (for tmpl_parse_html.vv)
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed May 15, 2022
1 parent 3a09ccc commit c70e18e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions vlib/v/tests/inout/compiler_test.v
Expand Up @@ -9,6 +9,11 @@ import v.util.vtest

const turn_off_vcolors = os.setenv('VCOLORS', 'never', true)

const skip_files = [
'do_not_remove_this',
'tmpl_parse_html.vv', // skipped, due to a V template compilation problem after b42c824
]

fn test_all() {
mut total_errors := 0
vexe := os.getenv('VEXE')
Expand All @@ -25,6 +30,11 @@ fn test_all() {
paths := vtest.filter_vtest_only(tests, basepath: dir)
for path in paths {
print(path + ' ')
fname := os.file_name(path)
if fname in skip_files {
println(term.bright_yellow('SKIP'))
continue
}
program := path
tname := rand.ulid()
compilation := os.execute('${os.quoted_path(vexe)} -o $tname -cflags "-w" -cg ${os.quoted_path(program)}')
Expand Down

0 comments on commit c70e18e

Please sign in to comment.