ci: fix the using_comptime_env.vv test (execute only on ubuntu-tcc again)
parent
9b839b3b7d
commit
e57b73bcfc
|
@ -100,8 +100,10 @@ fn test_all() {
|
||||||
skip_unused_tasks.run()
|
skip_unused_tasks.run()
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
{
|
if github_job == 'ubuntu-tcc' {
|
||||||
// these should be run serially, since they depend on setting and using environment variables
|
// This is done with tcc only, because the error output is compiler specific.
|
||||||
|
// NB: the tasks should be run serially, since they depend on
|
||||||
|
// setting and using environment variables.
|
||||||
mut cte_tasks := Tasks{
|
mut cte_tasks := Tasks{
|
||||||
vexe: vexe
|
vexe: vexe
|
||||||
parallel_jobs: 1
|
parallel_jobs: 1
|
||||||
|
@ -112,11 +114,8 @@ fn test_all() {
|
||||||
cte_tasks.add('', cte_dir, '-no-retry-compilation run', '.run.out', files, false)
|
cte_tasks.add('', cte_dir, '-no-retry-compilation run', '.run.out', files, false)
|
||||||
cte_tasks.add('VAR=/usr/include $vexe', cte_dir, '-no-retry-compilation run',
|
cte_tasks.add('VAR=/usr/include $vexe', cte_dir, '-no-retry-compilation run',
|
||||||
'.var.run.out', ['using_comptime_env.vv'], false)
|
'.var.run.out', ['using_comptime_env.vv'], false)
|
||||||
if github_job == 'ubuntu-tcc' {
|
|
||||||
// this is done with tcc only, because the error output is compiler specific:
|
|
||||||
cte_tasks.add('VAR=/opt/invalid/path $vexe', cte_dir, '-no-retry-compilation run',
|
cte_tasks.add('VAR=/opt/invalid/path $vexe', cte_dir, '-no-retry-compilation run',
|
||||||
'.var_invalid.run.out', ['using_comptime_env.vv'], false)
|
'.var_invalid.run.out', ['using_comptime_env.vv'], false)
|
||||||
}
|
|
||||||
cte_tasks.run()
|
cte_tasks.run()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue