mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
ci: improve test robustness on windows (#21116)
This commit is contained in:
parent
f1fba25e49
commit
f172a040ef
19 changed files with 21 additions and 23 deletions
|
@ -36,7 +36,7 @@ const use_type_2_arrays = [
|
|||
]
|
||||
const tests_folder = os.join_path('test-suite', 'tests')
|
||||
const jq = os.find_abs_path_of_executable('jq') or { '' }
|
||||
const compare_work_dir_root = os.join_path(os.vtmp_dir(), 'toml', 'alexcrichton')
|
||||
const compare_work_dir_root = os.join_path(os.vtmp_dir(), 'toml_alexcrichton')
|
||||
// From: https://stackoverflow.com/a/38266731/1904615
|
||||
const jq_normalize = r'# Apply f to composite entities recursively using keys[], and to atoms
|
||||
def sorted_walk(f):
|
||||
|
|
|
@ -28,7 +28,7 @@ const valid_value_exceptions = []string{}
|
|||
//'integer/long.toml', // TODO: https://github.com/vlang/v/issues/9507
|
||||
|
||||
const jq = os.find_abs_path_of_executable('jq') or { '' }
|
||||
const compare_work_dir_root = os.join_path(os.vtmp_dir(), 'toml', 'burntsushi')
|
||||
const compare_work_dir_root = os.join_path(os.vtmp_dir(), 'toml_burntsushi')
|
||||
// From: https://stackoverflow.com/a/38266731/1904615
|
||||
const jq_normalize = r'# Apply f to composite entities recursively using keys[], and to atoms
|
||||
def sorted_walk(f):
|
||||
|
|
|
@ -42,7 +42,7 @@ const yaml_value_exceptions = [
|
|||
|
||||
const jq = os.find_abs_path_of_executable('jq') or { '' }
|
||||
const python = os.find_abs_path_of_executable('python') or { '' }
|
||||
const compare_work_dir_root = os.join_path(os.vtmp_dir(), 'toml', 'iarna')
|
||||
const compare_work_dir_root = os.join_path(os.vtmp_dir(), 'toml_iarna')
|
||||
// From: https://stackoverflow.com/a/38266731/1904615
|
||||
const jq_normalize = r'# Apply f to composite entities recursively using keys[], and to atoms
|
||||
def sorted_walk(f):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue