Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion scripts/atest.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
# from before https://github.com/bash-lsp/bash-language-server/pull/269
os.environ["HIGHLIGHT_PARSING_ERRORS"] = "true"

# https://github.com/krassowski/jupyterlab-lsp/issues/403
GH_403_BAD_PATH = os.environ.get("GH_403_BAD_PATH", " späces")

def get_stem(attempt, extra_args):
stem = "_".join([OS, PY, str(attempt)]).replace(".", "_").lower()
Expand All @@ -51,6 +53,7 @@ def get_stem(attempt, extra_args):
def atest(attempt, extra_args):
"""perform a single attempt of the acceptance tests"""

# TODO: investigate whether this is still required vs geckodriver 0.28
if "FIREFOX_BINARY" not in os.environ:
os.environ["FIREFOX_BINARY"] = shutil.which("firefox")

Expand Down Expand Up @@ -80,7 +83,7 @@ def atest(attempt, extra_args):
if previous.exists():
extra_args += ["--rerunfailed", str(previous)]

out_dir = OUT / stem
out_dir = OUT / (stem + GH_403_BAD_PATH)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if the path addition should not be pushed further down to the actual robot tests. I think that we already have one notebook with space in the name, probably just not the one testing jump functions. Though having this as a top dir would be convenient indeed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed! I was kind of tired.

Moved it (and a number of other paths) down into Variables.robot... they can be overridden with:

python -m scripts.atest --variable "NOTEBOOK DIR NAME:🐶 🐶 🐶"

would yield:

atest/output/linux_37_1/home/🐶 🐶 🐶/


args = [
"--name",
Expand Down