summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@intel.com>2014-11-03 14:43:10 +0100
committerDavid Wagner <david.wagner@intel.com>2014-11-03 14:50:45 +0100
commit7a946d6985ad2469d1c05dd878a499f2d10c851e (patch)
treea34badadb3c6556d43d4b7ed938be742f752b301 /test
parent628f9a5f971dbec057fa812e6bfdb43971ac8ec2 (diff)
downloadexternal_parameter-framework-7a946d6985ad2469d1c05dd878a499f2d10c851e.zip
external_parameter-framework-7a946d6985ad2469d1c05dd878a499f2d10c851e.tar.gz
external_parameter-framework-7a946d6985ad2469d1c05dd878a499f2d10c851e.tar.bz2
fixed-point-tests: strip the '_host' suffix on executables
This only makes sense on the Android build system. However, these tests are broken on Android because libremote-processor is compiled as "libremote-processor_host.so" on Android whereas libparameter will only try to load "libremote-processor.so" anyway. For now, let's ignore the Android build system and only care about how we do it with CMake: CMake builds libremote-processor.so, test-platform and remote-process so let's remove the "_host" suffixes that were added for compatibility with the output of the Android makefiles. Signed-off-by: David Wagner <david.wagner@intel.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-fixed-point-parameter/Main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-fixed-point-parameter/Main.py b/test/test-fixed-point-parameter/Main.py
index 0f971b2..9a2eafc 100755
--- a/test/test-fixed-point-parameter/Main.py
+++ b/test/test-fixed-point-parameter/Main.py
@@ -195,12 +195,12 @@ class PfwClient():
self._address = 'localhost'
self._port = '5066'
self._testPlatformPort = '5063'
- self._pathToExec = 'remote-process_host'
+ self._pathToExec = 'remote-process'
self._configPath = configPath
def __enter__(self):
# launch test platform in deamon mode
- subprocess.call(['test-platform_host', '-d', self._configPath, self._testPlatformPort])
+ subprocess.call(['test-platform', '-d', self._configPath, self._testPlatformPort])
subprocess.call([self._pathToExec, self._address, self._testPlatformPort, 'start'])
self._callCommand(['setTuningMode', 'on'])
return self