We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was getting a compilation error when following the instructions.
make -i -C code make[1]: Entering directory '/usr/src/tddec-code/code' make -f MakefileCppUTest.mk make[2]: Entering directory '/usr/src/tddec-code/code' MakefileCppUTest.mk:59: /build/MakefileWorker.mk: No such file or directory make[2]: *** No rule to make target '/build/MakefileWorker.mk'. Stop. make[2]: Leaving directory '/usr/src/tddec-code/code' make[1]: [Makefile:2: all] Error 2 (ignored) make -f MakefileUnity.mk make[2]: Entering directory '/usr/src/tddec-code/code' Running BookCode_Unity_tests Unity test run 1 of 1 ..........!............................................................ ----------------------- 71 Tests 0 Failures 1 Ignored OK make[2]: Leaving directory '/usr/src/tddec-code/code' make[1]: Leaving directory '/usr/src/tddec-code/code' make -i -C code-t0 make[1]: Entering directory '/usr/src/tddec-code/code-t0' Makefile:32: /build/MakefileWorker.mk: No such file or directory make[1]: *** No rule to make target '/build/MakefileWorker.mk'. Stop. make[1]: Leaving directory '/usr/src/tddec-code/code-t0' make: *** [Makefile:5: all] Error 2
The issue is due to the environment variable CPPUTEST_HOME not being set in the container.
The solution is to set CPPUTEST_HOME in the command to run the contaioner
docker run -it -v $MOUNT_DIR -w $WORKING_DIR -e CPPUTEST_HOME=$WORKING_DIR/cpputest gcc:7 make
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I was getting a compilation error when following the instructions.
The issue is due to the environment variable CPPUTEST_HOME not being set in the container.
The solution is to set CPPUTEST_HOME in the command to run the contaioner
docker run -it -v $MOUNT_DIR -w $WORKING_DIR -e CPPUTEST_HOME=$WORKING_DIR/cpputest gcc:7 make
The text was updated successfully, but these errors were encountered: