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):