Skip to content

jfasch/FH-ECE21

Repository files navigation

Development Workflow

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

Create build directory for Intel architecture (x86_64)

$ mkdir ~/FH-ECE21-x86_64         # <--- or wherever you like
$ cd ~/FH-ECE21-x86_64
$ cmake ~/FH-ECE21
$ make
$ pwd
/home/jfasch/FH-ECE21-x86_64      # <--- or whatever you have chosen

$ ./students/firstname.lastname/bin/my-first-program-firstname.lastname
The answer is: 666
$ ./students/firstname.lastname/tests/test-suite-firstname.lastname
Running main() from ~/FH-ECE21/googletest/googletest/src/gtest_main.cc
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from test_suite
[ RUN      ] test_suite.my_first_test
~/FH-ECE21/students/firstname.lastname/tests/my-first-test.cpp:8: Failure
Expected equality of these values:
  my_first_func()
    Which is: 666
  42

[  FAILED  ] test_suite.my_first_test (0 ms)
[----------] 1 test from test_suite (0 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (0 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] test_suite.my_first_test

 1 FAILED TEST

 peter war hier
 me2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published