ci: improve test robustness on windows (#21116)

This commit is contained in:
Delyan Angelov 2024-03-28 07:29:17 +02:00 committed by GitHub
parent f1fba25e49
commit f172a040ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 21 additions and 23 deletions

View file

@ -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):

View file

@ -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):

View file

@ -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):