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

cgen_test: skip definitions

This commit is contained in:
Alexander Medvednikov 2020-03-04 17:35:13 +01:00
parent 59a65d757b
commit 237ce6ff84

View File

@ -24,7 +24,7 @@ fn test_c_files() {
ctext = ctext // unused warn
mut b := builder.new_builder(pref.Preferences{})
b.module_search_paths = ['$vroot/vlib/v/gen/tests/']
res := b.gen_c([path])
res := b.gen_c([path]).after('#endif')
if compare_texts(res, ctext) {
eprintln('${term_ok} ${i}')
}