tests from grammar
authorKoos Joosten <koos@transceptor.technology>
Thu, 6 Dec 2018 14:45:47 +0000 (15:45 +0100)
committerKoos Joosten <koos@transceptor.technology>
Thu, 6 Dec 2018 14:45:47 +0000 (15:45 +0100)
itest/Dockerfile
itest/requirements.txt
itest/testing/constants.py

index 005b24b18f7e7a23f626ef1e4ebc20e92f9f714a..1d35c047fb765781a821189bc9318e1e68250371 100644 (file)
@@ -27,4 +27,11 @@ COPY --from=builder /usr/lib/x86_64-linux-gnu/libcleri* /usr/lib/x86_64-linux-gn
 COPY ./itest/ /itest/
 WORKDIR /itest
 RUN pip install -r requirements.txt
+
+#exported grammar is needed for TestGrammar
+COPY ./grammar/ /grammar/
+WORKDIR /grammar
+CMD [ "python", "export_grammar.py"]
+
+WORKDIR /itest
 CMD [ "python", "run_all.py", "-m", "-b=Release" ]
index f44e67974db75529978a0737925ddedbc98c7ccd..8656f6c5314c687b59229cce18bec8dc7400724a 100644 (file)
@@ -1,2 +1,3 @@
-siridb-connector
 psutil
+pyleri
+siridb-connector
\ No newline at end of file
index 2f65c700013629c2c3182db3dae91c10c960d1d5..d009608be6671432fb54dd000d2b86ffdb04a795 100644 (file)
@@ -1,3 +1,4 @@
+PYGRAMMAR_PATH = '../grammar/pygrammar/'
 TEST_DIR = './testdir'
 SIRIDBC = '../{BUILDTYPE}/siridb-server'
 SERVICE = '/usr/local/bin/siridb-admin'