Skip to content
Snippets Groups Projects
Commit 04aef913 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

auto-cases: makes auto-cases finds the python lib itself

It significantly more practical to use.
parent b231b7ab
No related branches found
No related tags found
1 merge request!12runner: factor out some part of the benchmark class
......@@ -2,7 +2,8 @@
from pathlib import Path
import itertools
import os
import random
import subprocess
import sys
......@@ -5,7 +6,13 @@
import random
import subprocess
import sys
x = os.path.abspath(sys.argv[0])
x = os.path.dirname(x)
x = os.path.dirname(x)
poulpe_root = os.path.dirname(x)
sys.path.insert(0, os.path.join(poulpe_root, 'python-libs'))
import poulpe
TARGET_PYTHON_VERSIONS = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment