GildedRose-Refactoring-Kata/c-check
2017-03-10 19:47:41 -05:00
..
.gitignore Added starting files for check unit tests 2017-03-10 19:41:06 -05:00
GildedRose.c Added C and check library version 2017-03-10 19:22:12 -05:00
GildedRose.h Added C and check library version 2017-03-10 19:22:12 -05:00
GildedRose.o Added C and check library version 2017-03-10 19:22:12 -05:00
GildedRoseTextTests.c Added C and check library version 2017-03-10 19:22:12 -05:00
GildedRoseTextTests.o Added C and check library version 2017-03-10 19:22:12 -05:00
golden_rose Added C and check library version 2017-03-10 19:22:12 -05:00
Makefile Added starting files for check unit tests 2017-03-10 19:41:06 -05:00
README Updated README to address some specifics of this version of the test 2017-03-10 19:47:41 -05:00
run-once.sh Added C and check library version 2017-03-10 19:22:12 -05:00
test_main.c Added starting files for check unit tests 2017-03-10 19:41:06 -05:00
test_rose.c Added starting files for check unit tests 2017-03-10 19:41:06 -05:00

run-once.sh runs your tests once

Assumptions:
  - gnu make and a C compiler (like gcc) is installed on your system and is in the PATH
  - The check unit testing library is installed on your system (https://libcheck.github.io/check/)
  - pkg-config is installed on your system

Notes:
  - This project is tweaked to run on Linux systems, and will mostly work on Macs.
    With some changes to the Makefile it can be made to run on BSD systems with
    BSD make.  An adventurous person could also get it to run on Windows.
  - If you are working on a Macintosh computer you cannot run the memtest target,
    because valgrind and OS X don't play nice any more.  If you want to use the
    memory checker OS X does run docker as a first class citizen.
  - If you don't have pkg-config on your system, the only changes you'll need to
    make are for the requirements of the check library.  Mostly you need to
    set the appropriate flags for threaded binaries, which may include some
    special linker flags.  The libcheck documentation will cover what you need
    if you want to undertake this change.