diff --git a/.drone.yml b/.drone.yml index fad4086..e1363ac 100644 --- a/.drone.yml +++ b/.drone.yml @@ -70,6 +70,7 @@ steps: - name: ocaml_tests image: ocaml/opam commands: + - ls -als tests/extracted - bin/run_tests ocaml ml volumes: diff --git a/bin/extract_tests.xsh b/bin/extract_tests.xsh index 7cf131a..1d8c59f 100644 --- a/bin/extract_tests.xsh +++ b/bin/extract_tests.xsh @@ -19,6 +19,7 @@ EXP = 'expect' for path in TEST_LIST: destdir = pf"{DESTINATION}/{path.stem}" mkdir -p @(destdir) + chmod ugo+rwx @(destdir) contents = path.read_text() tests = re.split(r'test\s*(.+?)\s*\[\[.*?\n', contents)[1:] testit = iter(tests)