mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix -skip-unused compiler test on windows, using -d no_backtrace
This commit is contained in:
parent
6b776e686e
commit
a6ecc19040
@ -42,7 +42,18 @@ fn (mut c Checker) mark_used(ast_files []ast.File) {
|
|||||||
c.table.used_fns['panic'] = true
|
c.table.used_fns['panic'] = true
|
||||||
c.table.used_fns['eprintln'] = true
|
c.table.used_fns['eprintln'] = true
|
||||||
c.table.used_fns['print_backtrace_skipping_top_frames'] = true
|
c.table.used_fns['print_backtrace_skipping_top_frames'] = true
|
||||||
|
c.table.used_fns['print_backtrace_skipping_top_frames_mac'] = true
|
||||||
c.table.used_fns['print_backtrace_skipping_top_frames_linux'] = true
|
c.table.used_fns['print_backtrace_skipping_top_frames_linux'] = true
|
||||||
|
c.table.used_fns['print_backtrace_skipping_top_frames_freebsd'] = true
|
||||||
|
c.table.used_fns['print_backtrace_skipping_top_frames_windows'] = true
|
||||||
|
c.table.used_fns['print_backtrace_skipping_top_frames_mingw'] = true
|
||||||
|
c.table.used_fns['print_backtrace_skipping_top_frames_msvc'] = true
|
||||||
|
c.table.used_fns['print_backtrace_skipping_top_frames_tcc'] = true
|
||||||
|
c.table.used_fns['is_atty'] = true
|
||||||
|
c.table.used_fns['add_unhandled_exception_handler'] = true
|
||||||
|
c.table.used_fns['add_vectored_exception_handler'] = true
|
||||||
|
c.table.used_fns['unhandled_exception_handler'] = true
|
||||||
|
c.table.used_fns['restore_codepage'] = true
|
||||||
c.table.used_fns['new_array_from_c_array'] = true
|
c.table.used_fns['new_array_from_c_array'] = true
|
||||||
c.table.used_fns['__new_array_with_default'] = true
|
c.table.used_fns['__new_array_with_default'] = true
|
||||||
c.table.used_fns['__new_array'] = true
|
c.table.used_fns['__new_array'] = true
|
||||||
|
@ -86,8 +86,8 @@ fn test_all() {
|
|||||||
tasks.add('', module_dir, '-prod run', '.out', module_tests, true)
|
tasks.add('', module_dir, '-prod run', '.out', module_tests, true)
|
||||||
tasks.add('', run_dir, 'run', '.run.out', run_tests, false)
|
tasks.add('', run_dir, 'run', '.run.out', run_tests, false)
|
||||||
tasks.add('', skip_unused_dir, 'run', '.run.out', skip_unused_dir_tests, false)
|
tasks.add('', skip_unused_dir, 'run', '.run.out', skip_unused_dir_tests, false)
|
||||||
tasks.add('', skip_unused_dir, '-skip-unused run', '.skip_unused.run.out', skip_unused_dir_tests,
|
tasks.add('', skip_unused_dir, '-d no_backtrace -skip-unused run', '.skip_unused.run.out',
|
||||||
false)
|
skip_unused_dir_tests, false)
|
||||||
tasks.run()
|
tasks.run()
|
||||||
if github_job == 'ubuntu-tcc' {
|
if github_job == 'ubuntu-tcc' {
|
||||||
// these should be run serially, since they depend on setting and using environment variables
|
// these should be run serially, since they depend on setting and using environment variables
|
||||||
|
Loading…
Reference in New Issue
Block a user