Ticket #12434: 0001-Fix-unittests-build.patch

File 0001-Fix-unittests-build.patch, 1.4 KB (added by simonsouth, 9 years ago)

Fix unittests build (2015-10-27)

  • src/tests/servers/launch/Jamfile

    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 :  
    1414    UtilityTest.cpp
    1515
    1616    # from the launch_daemon
     17    NetworkWatcher.cpp
    1718    SettingsParser.cpp
    1819    Conditions.cpp
    1920    Utility.cpp
    2021
    21     : be libshared.a [ TargetLibstdc++ ] [ TargetLibsupc++ ]
     22    : be network bnetapi libshared.a [ TargetLibstdc++ ] [ TargetLibsupc++ ]
    2223;
  • src/tests/servers/launch/UtilityTest.cpp

    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)  
    5050    CppUnit::TestSuite& suite = *new CppUnit::TestSuite("UtilityTest");
    5151
    5252    suite.addTest(new CppUnit::TestCaller<UtilityTest>(
    53         "UtilityTest::TestTranslatePath", &UtilityTest::TestEmpty));
     53        "UtilityTest::TestTranslatePath", &UtilityTest::TestTranslatePath));
    5454
    5555    parent.addTest("UtilityTest", &suite);
    5656}