update test script
This commit is contained in:
parent
f24c48400b
commit
3b25ec4386
|
@ -5,7 +5,8 @@ AUTH_HEADER="Authorization: $API_KEY"
|
||||||
for test_file in */*/test.*
|
for test_file in */*/test.*
|
||||||
do
|
do
|
||||||
IFS='/' read -ra test_parts <<< "$test_file"
|
IFS='/' read -ra test_parts <<< "$test_file"
|
||||||
language=${test_parts[0]}
|
IFS='.' read -ra file_parts <<< "$(basename $test_file)"
|
||||||
|
language=${file_parts[1]}
|
||||||
lang_ver=${test_parts[1]}
|
lang_ver=${test_parts[1]}
|
||||||
|
|
||||||
test_src=$(python3 -c "import json; print(json.dumps(open('$test_file').read()))")
|
test_src=$(python3 -c "import json; print(json.dumps(open('$test_file').read()))")
|
||||||
|
|
Loading…
Reference in New Issue