Im working in some 2Geom code and want to make test to it to know is corect working. Any one can tell basicaly how test works and how to run it. Thanks in advance, Jabiertxo.
I think it was mentioned that this was not functioning as of yet for the cmake build system.
Apparently the "cmake way" is using ctest:
$ ctest ../inkscape
Mvh
/Olof ----------------- Är du systemutvecklare? Spana in https://cilamp.se
On 14 April 2016 at 20:21, Jabier Arraiza <jabier.arraiza@...2893...> wrote:
Im working in some 2Geom code and want to make test to it to know is corect working. Any one can tell basicaly how test works and how to run it. Thanks in advance, Jabiertxo.
Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Hi Jabier,
On Thu, 14 Apr 2016 19:21:07 +0100 Jabier Arraiza <jabier.arraiza@...2893...> wrote:
Im working in some 2Geom code and want to make test to it to know is corect working. Any one can tell basicaly how test works and how to run it. Thanks in advance, Jabiertxo.
You need to download gtest/gmock (see the download*.sh script in the main source dir) and then type "make check".
Regards,
Shlomi
Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Thanks Shlomi.
Do you know if this is documented on the Wiki on some page? Do you have the url?
Mvh
/Olof ----------------- Är du systemutvecklare? Spana in https://cilamp.se
On 15 April 2016 at 11:06, Shlomi Fish <shlomif@...2985...> wrote:
Hi Jabier,
On Thu, 14 Apr 2016 19:21:07 +0100 Jabier Arraiza <jabier.arraiza@...2893...> wrote:
Im working in some 2Geom code and want to make test to it to know is corect working. Any one can tell basicaly how test works and how to run it. Thanks in advance, Jabiertxo.
You need to download gtest/gmock (see the download*.sh script in the main source dir) and then type "make check".
Regards,
Shlomi
Find and fix application performance issues faster with Applications
Manager
Applications Manager provides deep performance insights into multiple
tiers of
your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
--
Shlomi Fish http://www.shlomifish.org/ http://www.shlomifish.org/humour/bits/Google-Discontinues-Services/
Summer Glau can lead a horse to water, and then it will drink out of its own volition. — http://www.shlomifish.org/humour/bits/facts/Summer-Glau/
Please reply to list if it's a mailing list post - http://shlom.in/reply .
Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Hi Olof,
On Fri, 15 Apr 2016 11:44:48 +0200 Olof Bjarnason <olof.bjarnason@...400...> wrote:
Thanks Shlomi.
Do you know if this is documented on the Wiki on some page? Do you have the url?
I don't think it is documented there because it was only fixed in a recent commit ( that I contributed ). It should also be properly documented in the build system.
Regards,
Shlomi Fish
Mvh
/Olof
Är du systemutvecklare? Spana in https://cilamp.se
On 15 April 2016 at 11:06, Shlomi Fish <shlomif@...2985...> wrote:
Hi Jabier,
On Thu, 14 Apr 2016 19:21:07 +0100 Jabier Arraiza <jabier.arraiza@...2893...> wrote:
Im working in some 2Geom code and want to make test to it to know is corect working. Any one can tell basicaly how test works and how to run it. Thanks in advance, Jabiertxo.
You need to download gtest/gmock (see the download*.sh script in the main source dir) and then type "make check".
Regards,
Shlomi
Find and fix application performance issues faster with Applications
Manager
Applications Manager provides deep performance insights into multiple
tiers of
your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
--
Shlomi Fish http://www.shlomifish.org/ http://www.shlomifish.org/humour/bits/Google-Discontinues-Services/
Summer Glau can lead a horse to water, and then it will drink out of its own volition. — http://www.shlomifish.org/humour/bits/facts/Summer-Glau/
Please reply to list if it's a mailing list post - http://shlom.in/reply .
Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
OK, it is now. Would you review it?
http://wiki.inkscape.org/wiki/index.php/CMake#Using_CMake_to_build_Inkscape
Mvh
/Olof ----------------- Är du systemutvecklare? Spana in https://cilamp.se
On 15 April 2016 at 15:44, Shlomi Fish <shlomif@...2985...> wrote:
Hi Olof,
On Fri, 15 Apr 2016 11:44:48 +0200 Olof Bjarnason <olof.bjarnason@...400...> wrote:
Thanks Shlomi.
Do you know if this is documented on the Wiki on some page? Do you have
the
url?
I don't think it is documented there because it was only fixed in a recent commit ( that I contributed ). It should also be properly documented in the build system.
Regards,
Shlomi Fish
Mvh
/Olof
Är du systemutvecklare? Spana in https://cilamp.se
On 15 April 2016 at 11:06, Shlomi Fish <shlomif@...2985...> wrote:
Hi Jabier,
On Thu, 14 Apr 2016 19:21:07 +0100 Jabier Arraiza <jabier.arraiza@...2893...> wrote:
Im working in some 2Geom code and want to make test to it to know is corect working. Any one can tell basicaly how test works and how to
run
it. Thanks in advance, Jabiertxo.
You need to download gtest/gmock (see the download*.sh script in the
main
source dir) and then type "make check".
Regards,
Shlomi
Find and fix application performance issues faster with Applications
Manager
Applications Manager provides deep performance insights into multiple
tiers of
your business applications. It resolves application problems quickly
and
reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
--
Shlomi Fish http://www.shlomifish.org/ http://www.shlomifish.org/humour/bits/Google-Discontinues-Services/
Summer Glau can lead a horse to water, and then it will drink out of
its
own volition. — http://www.shlomifish.org/humour/bits/facts/Summer-Glau/
Please reply to list if it's a mailing list post -
Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly
and
reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
--
Shlomi Fish http://www.shlomifish.org/ http://www.shlomifish.org/humour/bits/Google-Discontinues-Services/
Oh! I wish you could see the look on his face! Actually, I would have also liked to see the look on his face, but just then I woke up from the dream. — http://www.shlomifish.org/humour/TheEnemy/
Please reply to list if it's a mailing list post - http://shlom.in/reply .
Hi Olof,
On Fri, 15 Apr 2016 15:57:36 +0200 Olof Bjarnason <olof.bjarnason@...400...> wrote:
OK, it is now. Would you review it?
http://wiki.inkscape.org/wiki/index.php/CMake#Using_CMake_to_build_Inkscape
reviewed and corrected slightly. BTW, I ran into a problem and corrected it, you may need the patch here:
https://bugs.launchpad.net/inkscape/+bug/1570964
Regards,
Shlomi Fish
Thanks Shlomi, for review and patch. Hope it's in inkscape trunk soon.. Will test tonight
Mvh
/Olof ----------------- Är du systemutvecklare? Spana in https://cilamp.se
On 15 April 2016 at 19:06, Shlomi Fish <shlomif@...2985...> wrote:
Hi Olof,
On Fri, 15 Apr 2016 15:57:36 +0200 Olof Bjarnason <olof.bjarnason@...400...> wrote:
OK, it is now. Would you review it?
http://wiki.inkscape.org/wiki/index.php/CMake#Using_CMake_to_build_Inkscape
reviewed and corrected slightly. BTW, I ran into a problem and corrected it, you may need the patch here:
https://bugs.launchpad.net/inkscape/+bug/1570964
Regards,
Shlomi Fish
--
Shlomi Fish http://www.shlomifish.org/ My Aphorisms - http://www.shlomifish.org/humour.html
My opinions may seem crazy but they all make sense. Insane sense, but sense nonetheless.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
I have now managed to build with GTESTs, run output shows 1 of 1 tests passing. Is that expected?
Test project /home/vagrant/build-inkscape Start 1: BaseTest 1/1 Test #1: BaseTest ......................... Passed 0.42 sec
100% tests passed, 0 tests failed out of 1
Total Test time (real) = 0.42 sec [100%] Built target check
Mvh
/Olof ----------------- Är du systemutvecklare? Spana in https://cilamp.se
On 15 April 2016 at 20:26, Olof Bjarnason <olof.bjarnason@...400...> wrote:
Thanks Shlomi, for review and patch. Hope it's in inkscape trunk soon.. Will test tonight
Mvh
/Olof
Är du systemutvecklare? Spana in https://cilamp.se
On 15 April 2016 at 19:06, Shlomi Fish <shlomif@...2985...> wrote:
Hi Olof,
On Fri, 15 Apr 2016 15:57:36 +0200 Olof Bjarnason <olof.bjarnason@...400...> wrote:
OK, it is now. Would you review it?
http://wiki.inkscape.org/wiki/index.php/CMake#Using_CMake_to_build_Inkscape
reviewed and corrected slightly. BTW, I ran into a problem and corrected it, you may need the patch here:
https://bugs.launchpad.net/inkscape/+bug/1570964
Regards,
Shlomi Fish
--
Shlomi Fish http://www.shlomifish.org/ My Aphorisms - http://www.shlomifish.org/humour.html
My opinions may seem crazy but they all make sense. Insane sense, but sense nonetheless.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
Hi Olof,
On Fri, 15 Apr 2016 22:48:24 +0200 Olof Bjarnason <olof.bjarnason@...400...> wrote:
I have now managed to build with GTESTs, run output shows 1 of 1 tests passing. Is that expected?
Test project /home/vagrant/build-inkscape Start 1: BaseTest 1/1 Test #1: BaseTest ......................... Passed 0.42 sec
100% tests passed, 0 tests failed out of 1
Total Test time (real) = 0.42 sec [100%] Built target check
That is what I am getting as well, so it seems fine. We can try comparing with the GNU Autoconf based "make check" target.
Regards,
Shlomi Fish
Mvh
On 16 April 2016 at 09:04, Shlomi Fish <shlomif@...2985...> wrote:
Hi Olof,
On Fri, 15 Apr 2016 22:48:24 +0200 Olof Bjarnason <olof.bjarnason@...400...> wrote:
I have now managed to build with GTESTs, run output shows 1 of 1 tests passing. Is that expected?
Test project /home/vagrant/build-inkscape Start 1: BaseTest 1/1 Test #1: BaseTest ......................... Passed 0.42 sec
100% tests passed, 0 tests failed out of 1
Total Test time (real) = 0.42 sec [100%] Built target check
That is what I am getting as well, so it seems fine. We can try comparing with the GNU Autoconf based "make check" target.
Yes, that sounds like a good next step.
A short follow up on this: when I ran "sudo make install" everything started rebuilding. Is that expected? Are the object files altered by "make check", so that a full rebuild is necessary?
Regards,
Shlomi Fish
Mvh
--
Shlomi Fish http://www.shlomifish.org/ http://shlomifishswiki.branchable.com/Self-Sufficiency/
“My name is Inigo Montoya. You forced my father to write XSLT. Prepare to die! And be thankful I don’t force you to write XSLT.” — http://www.shlomifish.org/humour/bits/facts/XSLT/
Please reply to list if it's a mailing list post - http://shlom.in/reply .
Hi Olof,
On Sat, 16 Apr 2016 09:58:40 +0200 Olof Bjarnason <olof.bjarnason@...400...> wrote:
On 16 April 2016 at 09:04, Shlomi Fish <shlomif@...2985...> wrote:
Hi Olof,
On Fri, 15 Apr 2016 22:48:24 +0200 Olof Bjarnason <olof.bjarnason@...400...> wrote:
I have now managed to build with GTESTs, run output shows 1 of 1 tests passing. Is that expected?
Test project /home/vagrant/build-inkscape Start 1: BaseTest 1/1 Test #1: BaseTest ......................... Passed 0.42 sec
100% tests passed, 0 tests failed out of 1
Total Test time (real) = 0.42 sec [100%] Built target check
That is what I am getting as well, so it seems fine. We can try comparing with the GNU Autoconf based "make check" target.
Yes, that sounds like a good next step.
A short follow up on this: when I ran "sudo make install" everything started rebuilding. Is that expected? Are the object files altered by "make check", so that a full rebuild is necessary?
I don't think they are, but "make check" does not build everything - only what is necessary to run the tests. You should do a plain "make" too before "make install" because root may have different ccache settings/etc.
Regards,
Shlomi Fish
Thanks Shlomif
El vie, 15-04-2016 a las 12:06 +0300, Shlomi Fish escribió:
Hi Jabier,
On Thu, 14 Apr 2016 19:21:07 +0100 Jabier Arraiza <jabier.arraiza@...2893...> wrote:
Im working in some 2Geom code and want to make test to it to know is corect working. Any one can tell basicaly how test works and how to run it. Thanks in advance, Jabiertxo.
You need to download gtest/gmock (see the download*.sh script in the main source dir) and then type "make check".
Regards,
Shlomi
Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (3)
-
Jabier Arraiza
-
Olof Bjarnason
-
Shlomi Fish