From fae209a9e93400c3a2072befda9c820634cf9278 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sat, 25 Dec 2010 12:54:59 +0100 Subject: Restructured repository. --- tests/SConscript | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/SConscript (limited to 'tests/SConscript') diff --git a/tests/SConscript b/tests/SConscript new file mode 100644 index 0000000..bba628c --- /dev/null +++ b/tests/SConscript @@ -0,0 +1,11 @@ +Import('env') + +test_bld = Builder( + action = '$SOURCE -e stdout && touch $TARGET', + emitter = lambda target, source, env: (target[0].name + '.passed', env.Program(target[0].name + '.test', source)) +) + +env.Append(BUILDERS = {'Test' : test_bld}) + +env.Test('calculate_score', ['calculate_score.cpp', 'test_framework.cpp', + '../src/player.cpp', '../src/client.cpp', '../src/connection.cpp', '../src/hand.cpp', '../src/score.cpp'] + Glob('../common/*.cpp')) -- cgit v1.2.3