From 8e6b0e94dcb576c21e2b22073886b68eaa1ca564 Mon Sep 17 00:00:00 2001
From: Simon South <ssouth@simonsouth.com>
Date: Tue, 27 Oct 2015 06:57:47 -0400
Subject: [PATCH] Fix unittests build.
---
src/tests/servers/launch/Jamfile | 3 ++-
src/tests/servers/launch/UtilityTest.cpp | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/tests/servers/launch/Jamfile b/src/tests/servers/launch/Jamfile
index 1ce341c..884ad6f 100644
a
|
b
|
UnitTestLib liblaunch_daemontest.so :
|
14 | 14 | UtilityTest.cpp |
15 | 15 | |
16 | 16 | # from the launch_daemon |
| 17 | NetworkWatcher.cpp |
17 | 18 | SettingsParser.cpp |
18 | 19 | Conditions.cpp |
19 | 20 | Utility.cpp |
20 | 21 | |
21 | | : be libshared.a [ TargetLibstdc++ ] [ TargetLibsupc++ ] |
| 22 | : be network bnetapi libshared.a [ TargetLibstdc++ ] [ TargetLibsupc++ ] |
22 | 23 | ; |
diff --git a/src/tests/servers/launch/UtilityTest.cpp b/src/tests/servers/launch/UtilityTest.cpp
index 70841c9..a995258 100644
a
|
b
|
UtilityTest::AddTests(BTestSuite& parent)
|
50 | 50 | CppUnit::TestSuite& suite = *new CppUnit::TestSuite("UtilityTest"); |
51 | 51 | |
52 | 52 | suite.addTest(new CppUnit::TestCaller<UtilityTest>( |
53 | | "UtilityTest::TestTranslatePath", &UtilityTest::TestEmpty)); |
| 53 | "UtilityTest::TestTranslatePath", &UtilityTest::TestTranslatePath)); |
54 | 54 | |
55 | 55 | parent.addTest("UtilityTest", &suite); |
56 | 56 | } |