Fix google test sconscript on newly cloned builds (as of April 15 2015).
authorJoseph Morrow <joseph.l.morrow@intel.com>
Mon, 20 Apr 2015 19:27:16 +0000 (15:27 -0400)
committerErich Keane <erich.keane@intel.com>
Mon, 20 Apr 2015 22:01:29 +0000 (22:01 +0000)
This commit fixes IOT-487. This commit re-enables the google test
configure and make scripts on the Linux platform. This will allow the
unit tests to link with the resulting google test libraries.

Change-Id: I97ceb33c077bf21930bacb7685ff5598fa9cd123
Signed-off-by: Joseph Morrow <joseph.l.morrow@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/786
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Doug Hudson <douglas.hudson@intel.com>
Reviewed-by: Erich Keane <erich.keane@intel.com>
extlibs/gtest/SConscript

index 6007302..447052f 100644 (file)
@@ -64,7 +64,7 @@ if target_os == 'darwin':
 
 
 elif target_os == 'linux':
-       if not os.path.exists(gtest_dir):
+       if os.path.exists(gtest_dir):
                # Run configure on gtest
                print 'Configuring google unit test'
                env.Configure(gtest_dir, './configure')