Skip to content

Commit 678cac8

Browse files
committed
One script to run all tests
1 parent 816be08 commit 678cac8

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

invertedai_cpp/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ RUN curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-
1616
COPY . /usr/src/myapp
1717
WORKDIR /usr/src/myapp
1818

19+
RUN chmod 755 ./run_all_tests.sh
20+
1921
CMD ["/bin/bash"]

invertedai_cpp/run_all_tests.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
export IAI_DEV=1
3+
4+
bazel build //examples:drive_tests
5+
bazel build //examples:initialize_tests
6+
7+
./bazel-bin/examples/initialize_tests "EFGHTOKENABCD"
8+
./bazel-bin/examples/drive_tests 30 "EFGHTOKENABCD"

0 commit comments

Comments
 (0)