jfasch / FH-ECE21-LabExam-2023-06-23

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Development Workflow

$ cd ~                            # <--- or wherever you like
$ git clone https://github.com/jfasch/FH-ECE21-LabExam-2023-06-23.git
$ cd ~/FH-ECE21-LabExam-2023-06-23
$ git submodule init
$ git submodule update

Create build directory for Intel architecture (x86_64)

$ mkdir ~/FH-ECE21-LabExam-2023-06-23-x86_64         # <--- or wherever you like
$ cd ~/FH-ECE21-LabExam-2023-06-23-x86_64
$ cmake ~/FH-ECE21-LabExam-2023-06-23
$ make
$ pwd
/home/jfasch/FH-ECE21-LabExam-2023-06-23-x86_64      # <--- or whatever you have chosen
$ ./tests/test-suite-fh-2023-06-23
Running main() from /home/jfasch/tmp/xxxxx/googletest/googletest/src/gtest_main.cc
[==========] Running 3 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 1 test from sensor_mock_nopoly_suite
[ RUN      ] sensor_mock_nopoly_suite.basic
[       OK ] sensor_mock_nopoly_suite.basic (0 ms)
[----------] 1 test from sensor_mock_nopoly_suite (0 ms total)

[----------] 2 tests from switch_mock_suite
[ RUN      ] switch_mock_suite.initial_state
[       OK ] switch_mock_suite.initial_state (0 ms)
[ RUN      ] switch_mock_suite.set_on_off
[       OK ] switch_mock_suite.set_on_off (0 ms)
[----------] 2 tests from switch_mock_suite (0 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 2 test suites ran. (0 ms total)
[  PASSED  ] 3 tests.

About


Languages

Language:C++ 72.4%Language:CMake 27.6%