From e81a6733a7418fb0b4913043778dbf771a4c77d7 Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Sun, 13 Jul 2014 17:50:35 +0900 Subject: [PATCH] use g++ instad of gcc for trusty --- test/test_openhrp3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_openhrp3.py b/test/test_openhrp3.py index 08af1d68..fd43476d 100755 --- a/test/test_openhrp3.py +++ b/test/test_openhrp3.py @@ -77,7 +77,7 @@ def test_compile_pkg_config(self): global PID cmd = "%s pkg-config openhrp3.1 --cflags --libs"%(self.PKG_CONFIG_PATH) print "`"+cmd+"` =",check_output(cmd, shell=True, stderr=STDOUT) - ret = call("gcc -o openhrp3-sample-pkg-config /tmp/%d-openhrp3-sample.cpp `%s`"%(PID,cmd), shell=True) + ret = call("g++ -o openhrp3-sample-pkg-config /tmp/%d-openhrp3-sample.cpp `%s`"%(PID,cmd), shell=True) self.assertTrue(ret==0) def _test_compile_move_ankle(self): @@ -85,7 +85,7 @@ def _test_compile_move_ankle(self): cmd2 = "pkg-config openhrp3.1 --variable=idl_dir" print "`"+cmd1+"` =",check_output(cmd1, shell=True, stderr=STDOUT) print "`"+cmd2+"` =",check_output(cmd2, shell=True, stderr=STDOUT) - ret = call("gcc -o move_ankle `%s`/../sample/example/move_ankle/move_ankle.cpp `%s`"%(cmd2,cmd1), shell=True) + ret = call("g++ -o move_ankle `%s`/../sample/example/move_ankle/move_ankle.cpp `%s`"%(cmd2,cmd1), shell=True) self.assertTrue(ret==0) def test_idl_dir(self):