Skip to content

Commit

Permalink
clean up docker container tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abeimler committed Jul 20, 2023
1 parent 9af0551 commit 7f57dc8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 45 deletions.
16 changes: 4 additions & 12 deletions dev/docker/__tests__/arch.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
schemaVersion: 2.0.0

commandTests:
- name: gcc compiler
command: gcc
args: ["--version"]
expectedOutput: [".*gcc.*GCC.*"]
- name: g++ compiler
command: g++
args: ["--version"]
expectedOutput: [".*g\\+\\+.*GCC.*"]
- name: make
command: make
args: ["--version"]
expectedOutput: [".*GNU Make.*"]
- name: ninja
command: /root/ninja/ninja
args: ["--version"]
Expand All @@ -29,6 +17,10 @@ commandTests:
command: doxygen
args: ["--version"]
expectedOutput: [".*1.*"]
- name: clang
command: /usr/lib/llvm-15/bin/clang
args: ["--version"]
expectedOutput: [".*clang.*"]

fileExistenceTests:
- name: "vcpkg"
Expand Down
16 changes: 4 additions & 12 deletions dev/docker/__tests__/fedora.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
schemaVersion: 2.0.0

commandTests:
- name: gcc compiler
command: gcc
args: ["--version"]
expectedOutput: [".*gcc.*GCC.*"]
- name: g++ compiler
command: g++
args: ["--version"]
expectedOutput: [".*g\\+\\+.*GCC.*"]
- name: make
command: make
args: ["--version"]
expectedOutput: [".*GNU Make.*"]
- name: ninja
command: /root/ninja/ninja
args: ["--version"]
Expand All @@ -29,6 +17,10 @@ commandTests:
command: doxygen
args: ["--version"]
expectedOutput: [".*1.*"]
- name: clang
command: /usr/lib/llvm-15/bin/clang
args: ["--version"]
expectedOutput: [".*clang.*"]

fileExistenceTests:
- name: "vcpkg"
Expand Down
26 changes: 5 additions & 21 deletions dev/docker/__tests__/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,30 @@
schemaVersion: 2.0.0

commandTests:
- name: gcc compiler
command: gcc
args: ["--version"]
expectedOutput: [".*gcc.*"]
- name: g++ compiler
command: g++
args: ["--version"]
expectedOutput: [".*g\\+\\+.*"]
- name: make
command: make
args: ["--version"]
expectedOutput: [".*GNU Make.*"]
- name: ninja
command: /root/ninja/ninja
args: ["--version"]
expectedOutput: [".*1.*"]
- name: gcovr
command: gcovr
command: /usr/local/bin/gcovr
args: ["--version"]
expectedOutput: [".*gcovr.*"]
- name: ccache
command: ccache
command: /usr/bin/ccache
args: ["--version"]
expectedOutput: [".*ccache.*"]
- name: doxygen
command: doxygen
command: /usr/bin/doxygen
args: ["--version"]
expectedOutput: [".*1.*"]
- name: cppcheck
command: cppcheck
command: /usr/bin/cppcheck
args: ["--version"]
expectedOutput: [".*Cppcheck.*"]
- name: clang
command: /root/llvm/bin/clang
command: /usr/lib/llvm-15/bin/clang
args: ["--version"]
expectedOutput: [".*clang.*"]
- name: node
command: node
args: ["-v"]
expectedOutput: [".*v12.*"]

fileExistenceTests:
- name: "vcpkg"
Expand Down

0 comments on commit 7f57dc8

Please sign in to comment.