mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Run tests from parent directory
- somehow cpp-testfiles are not compiled when calling make in the test directory - make install is required to be executed before make test, because we need access to man pages (help.t) Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
cf41d2f80c
commit
629a3ffe58
4 changed files with 8 additions and 8 deletions
|
@ -19,10 +19,10 @@ RUN git submodule update
|
|||
RUN cmake -DCMAKE_BUILD_TYPE=debug .
|
||||
RUN make -j2
|
||||
RUN make install
|
||||
RUN make -j2 test || true
|
||||
RUN timew --version
|
||||
|
||||
# Setup tests
|
||||
WORKDIR /root/code/test/
|
||||
RUN make
|
||||
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems"]
|
||||
CMD ["bash", "-c", "cat all.log | grep 'not ok' ; ./problems"]
|
||||
|
|
|
@ -20,10 +20,10 @@ RUN git submodule update
|
|||
RUN cmake -DCMAKE_BUILD_TYPE=debug .
|
||||
RUN make -j2
|
||||
RUN make install
|
||||
RUN make -j2 test
|
||||
RUN timew --version
|
||||
|
||||
# Setup tests
|
||||
WORKDIR /root/code/test/
|
||||
RUN make
|
||||
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems"]
|
||||
CMD ["bash", "-c", "cat all.log | grep 'not ok' ; ./problems"]
|
||||
|
|
|
@ -20,10 +20,10 @@ RUN git submodule update
|
|||
RUN cmake -DCMAKE_BUILD_TYPE=debug .
|
||||
RUN make -j2
|
||||
RUN make install
|
||||
RUN make -j2 test
|
||||
RUN timew --version
|
||||
|
||||
# Setup tests
|
||||
WORKDIR /root/code/test/
|
||||
RUN make
|
||||
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems"]
|
||||
CMD ["bash", "-c", "cat all.log | grep 'not ok' ; ./problems"]
|
||||
|
|
|
@ -20,10 +20,10 @@ RUN git submodule update
|
|||
RUN cmake -DCMAKE_BUILD_TYPE=debug .
|
||||
RUN make -j2
|
||||
RUN make install
|
||||
RUN make -j2 test
|
||||
RUN timew --version
|
||||
|
||||
# Setup tests
|
||||
WORKDIR /root/code/test/
|
||||
RUN make
|
||||
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems"]
|
||||
CMD ["bash", "-c", "cat all.log | grep 'not ok' ; ./problems"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue