Gazebo | Ignition | Community
Ask Your Question
0

Compile without tests to build a debian package [closed]

asked 2013-05-31 04:19:59 -0500

bmenendez gravatar image

Hello,

I'm making the debian package for Debian of Gazebo 1.8.2 but I'm doing that in a chroot directory, so I do not have display output and tests doesn't pass. What I want is to disable tests to build the package for Debian, do you know if there is a way to do that? Or just simply remove the "test" folder? Or there is another way to pass the tests and build the package?

I commented all lines referring to "test" but it stopped at 85%, when linking to msgs_TEST:

/usr/bin/ld: cannot find -lgtest /usr/bin/ld: cannot find -lgtestmain collect2: error: ld returned 1 exit status make[3]: * [gazebo/msgs/msgsTEST] Error 1 make[3]: Leaving directory /root/jderobot-gazebo-5.1.2/obj-i486-linux-gnu' make[2]: *** [gazebo/msgs/CMakeFiles/msgs_TEST.dir/all] Error 2 make[2]: Leaving directory/root/jderobot-gazebo-5.1.2/obj-i486-linux-gnu' make[1]: * [all] Error 2 make[1]: Leaving directory `/root/jderobot-gazebo-5.1.2/obj-i486-linux-gnu' dhautobuild: make -j1 returned exit code 2

Thanks!

Borja.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by nkoenig
close date 2013-07-23 18:42:35.616958

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-05-31 05:49:29 -0500

bmenendez gravatar image

Just commented the line "enable_testing()" and can complete the packaging :)

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-05-31 04:19:59 -0500

Seen: 1,336 times

Last updated: May 31 '13