From 5e74385fbb437167cbb636f4c760dbb5d1ea5182 Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Fri, 11 Dec 2015 14:20:08 -0500 Subject: [PATCH] tests/core/containers: Don't pass source to ContainerTest We can figure it out from the test name. Signed-off-by: Anna Schumaker --- tests/core/containers/Sconscript | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/core/containers/Sconscript b/tests/core/containers/Sconscript index 56df52b6..802bd2f5 100644 --- a/tests/core/containers/Sconscript +++ b/tests/core/containers/Sconscript @@ -3,16 +3,16 @@ Import("CoreTest", "testing_group") res = [] -def ContainerTest(name, source): - run = CoreTest("containers/%s" % name, source) +def ContainerTest(name): + run = CoreTest("containers/%s" % name, "%s.c" % name) Alias("tests/core/containers", run) if len(res) > 0 and testing_group([ "tests/core/containers" ]): Depends(run, res[-1]) return run -res += [ ContainerTest("set", "set.c") ] -res += [ ContainerTest("database", "database.c") ] -res += [ ContainerTest("index", "index.c") ] -res += [ ContainerTest("queue", "queue.c") ] +res += [ ContainerTest("set") ] +res += [ ContainerTest("database") ] +res += [ ContainerTest("index") ] +res += [ ContainerTest("queue") ] Return("res")