You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
|
Aug
(1) |
Sep
|
Oct
(3) |
Nov
(2) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(2) |
Feb
|
Mar
(2) |
Apr
(14) |
May
(1) |
Jun
(2) |
Jul
(11) |
Aug
(8) |
Sep
|
Oct
(6) |
Nov
(3) |
Dec
(21) |
| 2003 |
Jan
|
Feb
(1) |
Mar
(4) |
Apr
|
May
(2) |
Jun
(1) |
Jul
(1) |
Aug
(5) |
Sep
(10) |
Oct
(2) |
Nov
(2) |
Dec
(3) |
| 2004 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
(1) |
Jun
|
Jul
(4) |
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2005 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(2) |
Aug
|
Sep
(1) |
Oct
|
Nov
(2) |
Dec
(3) |
| 2006 |
Jan
(10) |
Feb
(7) |
Mar
(32) |
Apr
(7) |
May
(9) |
Jun
(24) |
Jul
(8) |
Aug
(4) |
Sep
(7) |
Oct
(30) |
Nov
(34) |
Dec
(29) |
| 2007 |
Jan
(36) |
Feb
(26) |
Mar
(30) |
Apr
(80) |
May
(70) |
Jun
(94) |
Jul
(132) |
Aug
(75) |
Sep
(24) |
Oct
(19) |
Nov
(17) |
Dec
|
| 2008 |
Jan
|
Feb
(4) |
Mar
(34) |
Apr
(4) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(16) |
Dec
(28) |
| 2009 |
Jan
(9) |
Feb
(19) |
Mar
(4) |
Apr
(22) |
May
(18) |
Jun
(11) |
Jul
|
Aug
(1) |
Sep
(20) |
Oct
(8) |
Nov
(7) |
Dec
(7) |
| 2010 |
Jan
(2) |
Feb
(25) |
Mar
(2) |
Apr
|
May
|
Jun
(1) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
(5) |
Dec
(5) |
| 2011 |
Jan
(12) |
Feb
(6) |
Mar
|
Apr
(2) |
May
(1) |
Jun
(4) |
Jul
(1) |
Aug
|
Sep
|
Oct
(9) |
Nov
(3) |
Dec
(1) |
| 2012 |
Jan
(1) |
Feb
|
Mar
(3) |
Apr
(2) |
May
(6) |
Jun
(7) |
Jul
|
Aug
(1) |
Sep
|
Oct
(21) |
Nov
(30) |
Dec
|
| 2013 |
Jan
(14) |
Feb
(36) |
Mar
(5) |
Apr
(28) |
May
(13) |
Jun
(1) |
Jul
(1) |
Aug
|
Sep
(10) |
Oct
(14) |
Nov
(15) |
Dec
(28) |
| 2014 |
Jan
(30) |
Feb
(11) |
Mar
(4) |
Apr
(15) |
May
(2) |
Jun
(9) |
Jul
(1) |
Aug
|
Sep
(10) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
(4) |
Feb
|
Mar
(5) |
Apr
(7) |
May
|
Jun
|
Jul
(6) |
Aug
(2) |
Sep
(2) |
Oct
|
Nov
(3) |
Dec
(11) |
| 2016 |
Jan
|
Feb
(2) |
Mar
(4) |
Apr
|
May
|
Jun
(2) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
|
Nov
(2) |
Dec
|
| 2017 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(16) |
Jun
(1) |
Jul
|
Aug
(7) |
Sep
(11) |
Oct
|
Nov
|
Dec
(3) |
| 2021 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2022 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
|
From: Chris P. <chr...@ma...> - 2016-07-30 23:02:59
|
Hi Nick, It sounds fine to me. How about if you get it working for your own project and then show us what it looks like? For a long enough buffer you'll want some kind of start offset plus a window that starts before the differences and finishes after them. Maybe somebody has already built a nice bindiff? It could be fiddly, consider if there are multiple bits of the binary that differ. I'm not sure but bin_eq might be a better name than hex_eq. Chris Nicholas Humfrey wrote: > Hello, > > I have been working on project that has tests that do quite a bit of > comparing between binary buffers. I have thought that a > ck_assert_hex_eq() assertion would be useful, that compares two pointers > and displays the difference, in hex, if they are not equal. > > ck_assert_hex_eq(X, Y, len); > > Internally it would use memcmp() to perform the comparison. > The complexity would be in printing the difference as hex. > > > Would there be any interest in me contributing something like this to > check? > > > nick. > > ------------------------------------------------------------------------------ > _______________________________________________ > Check-devel mailing list > Che...@li... > https://lists.sourceforge.net/lists/listinfo/check-devel |
|
From: Nicholas H. <nj...@ae...> - 2016-07-30 18:41:00
|
Hello, I have been working on project that has tests that do quite a bit of comparing between binary buffers. I have thought that a ck_assert_hex_eq() assertion would be useful, that compares two pointers and displays the difference, in hex, if they are not equal. ck_assert_hex_eq(X, Y, len); Internally it would use memcmp() to perform the comparison. The complexity would be in printing the difference as hex. Would there be any interest in me contributing something like this to check? nick. |
|
From: Chris P. <chr...@ma...> - 2016-07-28 22:35:30
|
Also do make install after running make check in the main Check project directory. You can also specify the include path manually if you are still stuck. Chris Nicholas Humfrey wrote: > Hello George, > > Are you running on Linux? > Did check get installed to /usr/local ? > > If so, check that /etc/ld.so.conf file contains the path > '/usr/local/lib'. > After you add it, you may also need to run ldconfig (as root, or with > sudo) to update /etc/ld.so.cache. > > > nick. > > > On 2016-07-27 17:36, Dr. George E. Moore wrote: >> The "make check" build and running of the example project failed with >> the message "libcheck.so.0: cannot open shared object file: No such >> file >> or directory" >> >> Should this shared library be built during the "make", or is it suppose >> to accompany the check package? >> >> >> ------------------------------------------------------------------------------ >> What NetFlow Analyzer can do for you? Monitors network bandwidth and >> traffic >> patterns at an interface-level. Reveals which users, apps, and >> protocols are >> consuming the most bandwidth. Provides multi-vendor support for >> NetFlow, >> J-Flow, sFlow and other flows. Make informed decisions using capacity >> planning >> reports.http://sdm.link/zohodev2dev >> _______________________________________________ >> Check-devel mailing list >> Che...@li... >> https://lists.sourceforge.net/lists/listinfo/check-devel > > > ------------------------------------------------------------------------------ > _______________________________________________ > Check-devel mailing list > Che...@li... > https://lists.sourceforge.net/lists/listinfo/check-devel |
|
From: Nicholas H. <nj...@ae...> - 2016-07-28 11:41:51
|
Hello George, Are you running on Linux? Did check get installed to /usr/local ? If so, check that /etc/ld.so.conf file contains the path '/usr/local/lib'. After you add it, you may also need to run ldconfig (as root, or with sudo) to update /etc/ld.so.cache. nick. On 2016-07-27 17:36, Dr. George E. Moore wrote: > The "make check" build and running of the example project failed with > the message "libcheck.so.0: cannot open shared object file: No such > file > or directory" > > Should this shared library be built during the "make", or is it suppose > to accompany the check package? > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and > protocols are > consuming the most bandwidth. Provides multi-vendor support for > NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Check-devel mailing list > Che...@li... > https://lists.sourceforge.net/lists/listinfo/check-devel |
|
From: Dr. G. E. M. <ge...@x-...> - 2016-07-27 16:37:00
|
The "make check" build and running of the example project failed with the message "libcheck.so.0: cannot open shared object file: No such file or directory" Should this shared library be built during the "make", or is it suppose to accompany the check package? |
|
From: Branden A. <b.m...@gm...> - 2016-06-14 17:33:27
|
Are you attempting to detect the segfault and allow the test to pass or fail? If you expect the test to pass if and only if it ends in a segfault, you will need to use the tcase_add_test_raise_signal() <https://libcheck.github.io/check/doc/doxygen/html/check_8h.html#a5bee959c746a315a6ac360d6516c2119> call to add the test case. For example <https://github.com/libcheck/check/blob/master/tests/check_check_sub.c>: START_TEST(test_segv_pass) { raise (SIGSEGV); } END_TEST ... TCase *tc_signal; tc_signal = tcase_create("Signal Tests"); tcase_add_test_raise_signal (tc_signal, test_segv_pass, 11); /* pass */ If you expect the test case to fail if a segfault is encountered, nothing special needs to be done; the test will fail if a signal is not caught. In both cases, make sure that you are configuring the suite runner to use fork. This should be the case by default, but it can be explicitly set using srunner_set_fork_status() <https://libcheck.github.io/check/doc/doxygen/html/check_8h.html#a0085fc05eba2e9048822aa93aeebc2d2> . - Branden On Tue, Jun 14, 2016 at 11:37 AM, JIN, ZHEMING <ji...@em...> wrote: > Hi > > > > How can I catch the segfault error when malloc(0) happens in C check ? > > On the CentOS, malloc(0) doesn’t return NULL. > > > > Thanks > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Check-devel mailing list > Che...@li... > https://lists.sourceforge.net/lists/listinfo/check-devel > > |
|
From: JIN, Z. <ji...@em...> - 2016-06-14 15:37:25
|
Hi How can I catch the segfault error when malloc(0) happens in C check ? On the CentOS, malloc(0) doesn't return NULL. Thanks |
|
From: David N. <do...@ma...> - 2016-03-28 20:53:39
|
On: Fri, 25 Mar 2016 18:05:26 Chris Pickett wrote: > Hi David, > > I think probably you didn't get a reply because nobody knows. If > you're able to do it with a significant amount of work, that is > probably the best you can hope for with Check. If there are > improvements to Check you can think of that would make mocking easier, > contributions are welcome. Sorry I can't be of more assistance here. > <snip> I thought that whoever wrote check would have considered this already and found an appropriate action. The only thing I can think of is to create a separate (preferably gihub), project dedicated to mocking up some of the larger free libraries out there. I could do it, most of it would be great for what I'm doing. What are you guys thoughts? Thanks, David |
|
From: Branden A. <b.m...@gm...> - 2016-03-26 21:55:54
|
Typically I'll use one of two strategies when using Check for my projects to unit test: - the code under test involves no or minimal global state, and using Check directly without mocks is OK. - if mocking is necessary, I'll create some stub libraries that link against the test programs; these libraries are the mocking. It may be that cmocha handles the linking itself to provide a mocking interface. Check does not support this, though it may be nice if it did. - Branden On Fri, Mar 25, 2016 at 9:05 PM, Chris Pickett <chr...@ma... > wrote: > Hi David, > > I think probably you didn't get a reply because nobody knows. If you're > able to do it with a significant amount of work, that is probably the > best you can hope for with Check. If there are improvements to Check > you can think of that would make mocking easier, contributions are > welcome. Sorry I can't be of more assistance here. > > Chris > > do...@ma... wrote: > > Hello, > > It's been almost 2 weeks since I asked on check-users so I'm passing it > > on to you. > > I began using check in my own project and I intend to contribute > > to the uzbl browser on gihub. I have a problem though, up until now I've > > used mockups when working with my project as it is pretty basic, but when > > working on something that uses webkit, glib, gtk , and a lot of global > > information passing via structs I find that significant effort is needed > > to create the mockups (I've mocked-up everything but glib so far, which > > I don't think I'll (be able to), do). > > I wanted to know if you fellows do the same or what? > > I thought I might try a different framework, like cmocka, but I could not > > understand their framework. I also must confess that I like yours a lot. > > I did read the docs, but they and the money examples provide no answer, > > or at least I did not notice any answer. > > > > Thanks, David > > > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 > > _______________________________________________ > > Check-devel mailing list > > Che...@li... > > https://lists.sourceforge.net/lists/listinfo/check-devel > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 > _______________________________________________ > Check-devel mailing list > Che...@li... > https://lists.sourceforge.net/lists/listinfo/check-devel > |
|
From: Chris P. <chr...@ma...> - 2016-03-26 01:27:12
|
Hi David, I think probably you didn't get a reply because nobody knows. If you're able to do it with a significant amount of work, that is probably the best you can hope for with Check. If there are improvements to Check you can think of that would make mocking easier, contributions are welcome. Sorry I can't be of more assistance here. Chris do...@ma... wrote: > Hello, > It's been almost 2 weeks since I asked on check-users so I'm passing it > on to you. > I began using check in my own project and I intend to contribute > to the uzbl browser on gihub. I have a problem though, up until now I've > used mockups when working with my project as it is pretty basic, but when > working on something that uses webkit, glib, gtk , and a lot of global > information passing via structs I find that significant effort is needed > to create the mockups (I've mocked-up everything but glib so far, which > I don't think I'll (be able to), do). > I wanted to know if you fellows do the same or what? > I thought I might try a different framework, like cmocka, but I could not > understand their framework. I also must confess that I like yours a lot. > I did read the docs, but they and the money examples provide no answer, > or at least I did not notice any answer. > > Thanks, David > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 > _______________________________________________ > Check-devel mailing list > Che...@li... > https://lists.sourceforge.net/lists/listinfo/check-devel |
|
From: <do...@ma...> - 2016-03-25 20:41:10
|
Hello, It's been almost 2 weeks since I asked on check-users so I'm passing it on to you. I began using check in my own project and I intend to contribute to the uzbl browser on gihub. I have a problem though, up until now I've used mockups when working with my project as it is pretty basic, but when working on something that uses webkit, glib, gtk , and a lot of global information passing via structs I find that significant effort is needed to create the mockups (I've mocked-up everything but glib so far, which I don't think I'll (be able to), do). I wanted to know if you fellows do the same or what? I thought I might try a different framework, like cmocka, but I could not understand their framework. I also must confess that I like yours a lot. I did read the docs, but they and the money examples provide no answer, or at least I did not notice any answer. Thanks, David |
|
From: Chris P. <chr...@ma...> - 2016-02-12 09:33:48
|
Hi Oscar,
I think it's awk because checkmk is failing. Which awk are you using?
Can you try pointing checkmk at gawk? We should probably check for the
right awk in configure.
Hope this helps,
Chris
On 11/02/2016 1:53 PM, Oscar Guido wrote:
> Hello,
> gmake check failed on Solaris 10 for SPARC64
>
> I'm not using csw packages
> This is how I setup my path:
>
> export
> PATH=/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/sbin:/usr/sbin:/opt/csw/bin:/usr/sfw/bin
>
> Here's the configure command: ./configure CFLAGS=-m64 LDFLAGS=-m64
> --prefix /export/home/oscguido/tfromsrc
>
> Finally, this is the output from gmake check:
>
> Making check in lib
> gmake[1]: Entering directory `/export/home/oscguido/src/check-0.10.0/lib'
> gmake[1]: Nothing to be done for `check'.
> gmake[1]: Leaving directory `/export/home/oscguido/src/check-0.10.0/lib'
> Making check in src
> gmake[1]: Entering directory `/export/home/oscguido/src/check-0.10.0/src'
> gmake[1]: Nothing to be done for `check'.
> gmake[1]: Leaving directory `/export/home/oscguido/src/check-0.10.0/src'
> Making check in doc
> gmake[1]: Entering directory `/export/home/oscguido/src/check-0.10.0/doc'
> gmake[1]: Nothing to be done for `check'.
> gmake[1]: Leaving directory `/export/home/oscguido/src/check-0.10.0/doc'
> Making check in .
> gmake[1]: Entering directory `/export/home/oscguido/src/check-0.10.0'
> gmake[1]: Leaving directory `/export/home/oscguido/src/check-0.10.0'
> Making check in checkmk
> gmake[1]: Entering directory
> `/export/home/oscguido/src/check-0.10.0/checkmk'
> gmake check-TESTS
> gmake[2]: Entering directory
> `/export/home/oscguido/src/check-0.10.0/checkmk'
> These are the tests for the checkmk program.
>
> ====================
> Test Run Start
> ====================
>
> Running test empty_input...
> Test empty_input passed.
>
> Running test pass_thru...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/pass_thru/output
> Thu Feb 11 16:35:08 2016
> ***************
> *** 6,19 ****
> #include <check.h>
>
> #line 1 "in"
> - /*
> - * While a line such as
> - *
> - #define MY_VALUE 1
> - *
> - * will be passed; a line such as
> - *
> - #line 9
> - *
> - * will not be.
> - */
> --- 6,8 ----
> Unexpected error differences:
> *** x_err Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/pass_thru/err
> Thu Feb 11 16:35:08 2016
> ***************
> *** 1 ****
> ! checkmk: Expected at least one #test line.
> --- 1,6 ----
> ! /usr/bin/nawk: newline in character class ^[
>
>
> ! ]*#[
>
>
> ! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
>
>
> ! ]+.+$...
> ! input record number 1, file in
> ! source line number 103
> Expected exit status of 1, but got 2.
> Test pass_thru FAILED.
>
> Running test single_test_line...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/single_test_line/output
> Thu Feb 11 16:35:08 2016
> ***************
> *** 6,30 ****
> #include <check.h>
>
> #line 1 "in"
> - START_TEST(test_name)
> - {
> - #line 2
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("Core");
> - TCase *tc1_1 = tcase_create("Core");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - suite_add_tcase(s1, tc1_1);
> - tcase_add_test(tc1_1, test_name);
> -
> - srunner_run_all(sr, CK_ENV);
> - nf = srunner_ntests_failed(sr);
> - srunner_free(sr);
> -
> - return nf == 0 ? 0 : 1;
> - }
> --- 6,8 ----
> Expected exit status of 0, but got 2.
> Test single_test_line FAILED.
>
> Running test basic_complete...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/basic_complete/output
> Thu Feb 11 16:35:08 2016
> ***************
> *** 6,43 ****
> #include <check.h>
>
> #line 1 "in"
> - /* A complete test example */
> -
> - #include <stdio.h>
> -
> -
> -
> - START_TEST(the_test)
> - {
> - #line 10
> - int nc;
> - const char msg[] = "\n\n Hello, world!\n";
> -
> - nc = printf("%s", msg);
> - fail_unless(nc == (sizeof msg
> - - 1) /* for terminating NUL. */
> - );
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("The Suite");
> - TCase *tc1_1 = tcase_create("The Test Case");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - suite_add_tcase(s1, tc1_1);
> - tcase_add_test(tc1_1, the_test);
> -
> - srunner_run_all(sr, CK_ENV);
> - nf = srunner_ntests_failed(sr);
> - srunner_free(sr);
> -
> - return nf == 0 ? 0 : 1;
> - }
> --- 6,8 ----
> Expected exit status of 0, but got 2.
> Test basic_complete FAILED.
>
> Running test multiple_everything...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/multiple_everything/output
> Thu Feb 11 16:35:08 2016
> ***************
> *** 6,100 ****
> #include <check.h>
>
> #line 1 "in"
> - /* Multiple everything... */
> -
> - #include <stdlib.h>
> - #include <errno.h>
> - #include <stdio.h>
> -
> - void print_message(const char *msg, size_t msgsz)
> - {
> - int nc;
> -
> - nc = printf("%s", msg);
> - fail_unless(nc == msgsz, "failed to print completely: %s",
> - strerror(errno));
> - }
> -
> -
> -
> - START_TEST(hello_world)
> - {
> - #line 21
> - const char msg[] = "Hello, world!\n";
> - print_message(msg, sizeof msg - 1);
> -
> - }
> - END_TEST
> -
> - START_TEST(neverending_story)
> - {
> - #line 25
> - const char msg[] = "Bastian Balthazar Bux\n";
> - print_message(msg, sizeof msg - 1);
> -
> - }
> - END_TEST
> -
> - START_TEST(math_problem)
> - {
> - #line 31
> - fail_unless(1 + 1 == 2, "Something's broken...");
> -
> - }
> - END_TEST
> -
> -
> - START_TEST(more_math)
> - {
> - #line 38
> - fail_unless(2/2 == 1, "Another weird math result");
> -
> - }
> - END_TEST
> -
> - START_TEST(weave)
> - {
> - #line 43
> - int i;
> - const char msg[] = "###\n";
> -
> - for (i=0; i != 3; ++i)
> - print_message(row, sizeof row - 1);
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("A Suite");
> - TCase *tc1_1 = tcase_create("A Test Case");
> - TCase *tc1_2 = tcase_create("Another Test Case");
> - Suite *s2 = suite_create("Another Suite");
> - TCase *tc2_1 = tcase_create("A Test Case for Another Suite");
> - TCase *tc2_2 = tcase_create("A Basket Case");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - suite_add_tcase(s1, tc1_1);
> - tcase_add_test(tc1_1, hello_world);
> - tcase_add_test(tc1_1, neverending_story);
> - suite_add_tcase(s1, tc1_2);
> - tcase_add_test(tc1_2, math_problem);
> - suite_add_tcase(s2, tc2_1);
> - tcase_add_test(tc2_1, more_math);
> - suite_add_tcase(s2, tc2_2);
> - tcase_add_test(tc2_2, weave);
> -
> - srunner_add_suite(sr, s2);
> -
> - srunner_run_all(sr, CK_ENV);
> - nf = srunner_ntests_failed(sr);
> - srunner_free(sr);
> -
> - return nf == 0 ? 0 : 1;
> - }
> --- 6,8 ----
> Expected exit status of 0, but got 2.
> Test multiple_everything FAILED.
>
> Running test between_the_lines...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/between_the_lines/output
> Thu Feb 11 16:35:08 2016
> ***************
> *** 6,41 ****
> #include <check.h>
>
> #line 1 "in"
> - int foo;
> -
> -
> - #line 5
> - int bar;
> -
> -
> - #line 9
> - int baz;
> -
> - START_TEST(C)
> - {
> - #line 12
> - fail_unless(foo | bar | baz == 0);
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("A");
> - TCase *tc1_1 = tcase_create("B");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - suite_add_tcase(s1, tc1_1);
> - tcase_add_test(tc1_1, C);
> -
> - srunner_run_all(sr, CK_ENV);
> - nf = srunner_ntests_failed(sr);
> - srunner_free(sr);
> -
> - return nf == 0 ? 0 : 1;
> - }
> --- 6,8 ----
> Expected exit status of 0, but got 2.
> Test between_the_lines FAILED.
>
> Running test repeated_suites...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/repeated_suites/output
> Thu Feb 11 16:35:08 2016
> ***************
> *** 6,17 ****
> #include <check.h>
>
> #line 1 "in"
> - /* Don't let suite names repeat. */
> -
> -
> -
> - START_TEST(ella)
> - {
> - #line 8
> - fail_if(food_poisoned);
> -
> --- 6,8 ----
> Unexpected error differences:
> *** x_err Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/repeated_suites/err
> Thu Feb 11 16:35:08 2016
> ***************
> *** 1 ****
> ! checkmk: in line 10: Suite "Halibut" already exists.
> --- 1,6 ----
> ! /usr/bin/nawk: newline in character class ^[
>
>
> ! ]*#[
>
>
> ! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
>
>
> ! ]+.+$...
> ! input record number 1, file in
> ! source line number 103
> Expected exit status of 1, but got 2.
> Test repeated_suites FAILED.
>
> Running test repeated_tcases...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/repeated_tcases/output
> Thu Feb 11 16:35:08 2016
> ***************
> *** 6,20 ****
> #include <check.h>
>
> #line 1 "in"
> - /* Don't let test case names repeat. */
> -
> -
> -
> - START_TEST(sticks)
> - {
> - #line 8
> - fail_if(DEAD_COMPOSERS);
> -
> - }
> - END_TEST
> -
> --- 6,8 ----
> Unexpected error differences:
> *** x_err Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/repeated_tcases/err
> Thu Feb 11 16:35:08 2016
> ***************
> *** 1 ****
> ! checkmk: in line 12: Test Case "Chopin" already exists.
> --- 1,6 ----
> ! /usr/bin/nawk: newline in character class ^[
>
>
> ! ]*#[
>
>
> ! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
>
>
> ! ]+.+$...
> ! input record number 1, file in
> ! source line number 103
> Expected exit status of 1, but got 2.
> Test repeated_tcases FAILED.
>
> Running test repeated_tests...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/repeated_tests/output
> Thu Feb 11 16:35:08 2016
> ***************
> *** 6,21 ****
> #include <check.h>
>
> #line 1 "in"
> - /* Can't use the same test name multiple times. */
> -
> -
> -
> - START_TEST(repeat)
> - {
> - #line 8
> - fail_if(MISERABLY);
> -
> - }
> - END_TEST
> -
> -
> --- 6,8 ----
> Unexpected error differences:
> *** x_err Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/repeated_tests/err
> Thu Feb 11 16:35:08 2016
> ***************
> *** 1 ****
> ! checkmk: in line 14: Test "repeat" already exists.
> --- 1,6 ----
> ! /usr/bin/nawk: newline in character class ^[
>
>
> ! ]*#[
>
>
> ! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
>
>
> ! ]+.+$...
> ! input record number 1, file in
> ! source line number 103
> Expected exit status of 1, but got 2.
> Test repeated_tests FAILED.
>
> Running test not_really_repeated...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/not_really_repeated/output
> Thu Feb 11 16:35:08 2016
> ***************
> *** 6,59 ****
> #include <check.h>
>
> #line 1 "in"
> - /* Test that repeated suites/tcases are only disallowed when they've
> - * actually been used in defining a test. */
> -
> -
> -
> - #line 8
> - /* But no test... */
> -
> -
> -
> - START_TEST(quuux)
> - {
> - #line 15
> - const char msg[] = "Howdy doody!\n";
> - int nc = printf(msg);
> -
> - fail_unless(nc == sizeof msg - 1);
> -
> - }
> - END_TEST
> -
> -
> - START_TEST(huh)
> - {
> - #line 25
> - fail_unless(ALLOWED_AFTER_ALL);
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("Baz");
> - TCase *tc1_1 = tcase_create("Quux");
> - Suite *s2 = suite_create("Foo");
> - TCase *tc2_1 = tcase_create("Bar");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - suite_add_tcase(s1, tc1_1);
> - tcase_add_test(tc1_1, quuux);
> - suite_add_tcase(s2, tc2_1);
> - tcase_add_test(tc2_1, huh);
> -
> - srunner_add_suite(sr, s2);
> -
> - srunner_run_all(sr, CK_ENV);
> - nf = srunner_ntests_failed(sr);
> - srunner_free(sr);
> -
> - return nf == 0 ? 0 : 1;
> - }
> --- 6,8 ----
> Expected exit status of 0, but got 2.
> Test not_really_repeated FAILED.
>
> Running test tcase_implied_repeat...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/tcase_implied_repeat/output
> Thu Feb 11 16:35:08 2016
> ***************
> *** 6,25 ****
> #include <check.h>
>
> #line 1 "in"
> - /* Make sure we catch implied tcase repeats (via same name as suite) */
> -
> -
> -
> - START_TEST(song)
> - {
> - #line 8
> - fail_unless("be a lady tonight");
> -
> - }
> - END_TEST
> -
> - #line 12
> - /* It's fine for a suite and tcase name to collide...
> - but the suite name implies a tcase name of the same value until we
> - override it. */
> -
> --- 6,8 ----
> Unexpected error differences:
> *** x_err Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/tcase_implied_repeat/err
> Thu Feb 11 16:35:08 2016
> ***************
> *** 1 ****
> ! checkmk: in line 16: Test Case "Luck" already exists.
> --- 1,6 ----
> ! /usr/bin/nawk: newline in character class ^[
>
>
> ! ]*#[
>
>
> ! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
>
>
> ! ]+.+$...
> ! input record number 1, file in
> ! source line number 103
> Expected exit status of 1, but got 2.
> Test tcase_implied_repeat FAILED.
>
> Running test case_insensitive_pp...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/case_insensitive_pp/output
> Thu Feb 11 16:35:08 2016
> ***************
> *** 6,43 ****
> #include <check.h>
>
> #line 1 "in"
> - /* Test case-insensitive directives. */
> -
> - #include <stdio.h>
> -
> -
> -
> - START_TEST(the_test)
> - {
> - #line 10
> - int nc;
> - const char msg[] = "\n\n Hello, world!\n";
> -
> - nc = printf("%s", msg);
> - fail_unless(nc == (sizeof msg
> - - 1) /* for terminating NUL. */
> - );
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("The Suite");
> - TCase *tc1_1 = tcase_create("The Test Case");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - suite_add_tcase(s1, tc1_1);
> - tcase_add_test(tc1_1, the_test);
> -
> - srunner_run_all(sr, CK_ENV);
> - nf = srunner_ntests_failed(sr);
> - srunner_free(sr);
> -
> - return nf == 0 ? 0 : 1;
> - }
> --- 6,8 ----
> Expected exit status of 0, but got 2.
> Test case_insensitive_pp FAILED.
>
> Running test trailing_ws...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/trailing_ws/output
> Thu Feb 11 16:35:08 2016
> ***************
> *** 6,43 ****
> #include <check.h>
>
> #line 1 "in"
> - /* A complete test example (with trailing whitespace) */
> -
> - #include <stdio.h>
> -
> -
> -
> - START_TEST(the_test)
> - {
> - #line 10
> - int nc;
> - const char msg[] = "\n\n Hello, world!\n";
> -
> - nc = printf("%s", msg);
> - fail_unless(nc == (sizeof msg
> - - 1) /* for terminating NUL. */
> - );
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("The Suite");
> - TCase *tc1_1 = tcase_create("The Test Case");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - suite_add_tcase(s1, tc1_1);
> - tcase_add_test(tc1_1, the_test);
> -
> - srunner_run_all(sr, CK_ENV);
> - nf = srunner_ntests_failed(sr);
> - srunner_free(sr);
> -
> - return nf == 0 ? 0 : 1;
> - }
> --- 6,8 ----
> Expected exit status of 0, but got 2.
> Test trailing_ws FAILED.
>
> Running test non_word_chars...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/non_word_chars/output
> Thu Feb 11 16:35:08 2016
> ***************
> *** 6,43 ****
> #include <check.h>
>
> #line 1 "in"
> - /* Non-word characters */
> -
> - #include <stdio.h>
> -
> -
> -
> - START_TEST(the_test)
> - {
> - #line 10
> - int nc;
> - const char msg[] = "\n\n Hello, world!\n";
> -
> - nc = printf("%s", msg);
> - fail_unless(nc == (sizeof msg
> - - 1) /* for terminating NUL. */
> - );
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("The Suite (of Test Cases/\\TCases)");
> - TCase *tc1_1 = tcase_create("The \"Test Case\"");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - suite_add_tcase(s1, tc1_1);
> - tcase_add_test(tc1_1, the_test);
> -
> - srunner_run_all(sr, CK_ENV);
> - nf = srunner_ntests_failed(sr);
> - srunner_free(sr);
> -
> - return nf == 0 ? 0 : 1;
> - }
> --- 6,8 ----
> Expected exit status of 0, but got 2.
> Test non_word_chars FAILED.
>
> Running test test_chars...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/test_chars/output
> Thu Feb 11 16:35:08 2016
> ***************
> *** 6,12 ****
> #include <check.h>
>
> #line 1 "in"
> - /* tests shouldn't allow non-identifier characters. */
> -
> -
> -
> --- 6,8 ----
> Unexpected error differences:
> *** x_err Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/test_chars/err
> Thu Feb 11 16:35:08 2016
> ***************
> *** 1 ****
> ! checkmk: in line 7: Malformed test name "test@me" (must be a C
> identifier).
> --- 1,6 ----
> ! /usr/bin/nawk: newline in character class ^[
>
>
> ! ]*#[
>
>
> ! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
>
>
> ! ]+.+$...
> ! input record number 1, file in
> ! source line number 103
> Expected exit status of 1, but got 2.
> Test test_chars FAILED.
>
> Running test num_start_test_name...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/num_start_test_name/output
> Thu Feb 11 16:35:08 2016
> ***************
> *** 6,10 ****
> #include <check.h>
>
> #line 1 "in"
> - /* Ensure that test names starting with digits are refused. */
> -
> --- 6,8 ----
> Unexpected error differences:
> *** x_err Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/num_start_test_name/err
> Thu Feb 11 16:35:08 2016
> ***************
> *** 1 ****
> ! checkmk: in line 5: Malformed test name "1nsane" (must be a C identifier).
> --- 1,6 ----
> ! /usr/bin/nawk: newline in character class ^[
>
>
> ! ]*#[
>
>
> ! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
>
>
> ! ]+.+$...
> ! input record number 1, file in
> ! source line number 103
> Expected exit status of 1, but got 2.
> Test num_start_test_name FAILED.
>
> Running test no_args...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/no_args/output
> Thu Feb 11 16:35:08 2016
> ***************
> *** 5,47 ****
>
> #include <check.h>
>
> - /* A complete test example */
> -
> - #include <stdio.h>
> -
> -
> -
> - START_TEST(the_test)
> - {
> - int nc;
> - const char msg[] = "\n\n Hello, world!\n";
> -
> - nc = printf("%s", msg);
> - fail_unless(nc == (sizeof msg
> - - 1) /* for terminating NUL. */
> - );
> -
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("The Suite");
> - TCase *tc1_1 = tcase_create("The Test Case");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - /* User-specified pre-run code */
> - int fooyah;
> -
> -
> - suite_add_tcase(s1, tc1_1);
> - tcase_add_test(tc1_1, the_test);
> -
> - srunner_run_all(sr, CK_ENV);
> - nf = srunner_ntests_failed(sr);
> - srunner_free(sr);
> -
> - /* User-specified post-run code */
> - return nf;
> - }
> --- 5,7 ----
> Expected exit status of 0, but got 2.
> Test no_args FAILED.
>
> Running test clean_mode...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/clean_mode/output
> Thu Feb 11 16:35:08 2016
> ***************
> *** 5,41 ****
>
> #include <check.h>
>
> - /* A complete test example */
> -
> - #include <stdio.h>
> -
> -
> -
> - START_TEST(the_test)
> - {
> - int nc;
> - const char msg[] = "\n\n Hello, world!\n";
> -
> - nc = printf("%s", msg);
> - fail_unless(nc == (sizeof msg
> - - 1) /* for terminating NUL. */
> - );
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("The Suite");
> - TCase *tc1_1 = tcase_create("The Test Case");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - suite_add_tcase(s1, tc1_1);
> - tcase_add_test(tc1_1, the_test);
> -
> - srunner_run_all(sr, CK_ENV);
> - nf = srunner_ntests_failed(sr);
> - srunner_free(sr);
> -
> - return nf == 0 ? 0 : 1;
> - }
> --- 5,7 ----
> Expected exit status of 0, but got 2.
> Test clean_mode FAILED.
>
> Running test declarations...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/declarations/output
> Thu Feb 11 16:35:08 2016
> ***************
> *** 6,48 ****
> #include <check.h>
>
> #line 1 "in"
> - /* A complete test example */
> -
> - #include <stdio.h>
> -
> -
> -
> - START_TEST(the_test)
> - {
> - #line 10
> - int nc;
> - const char msg[] = "\n\n Hello, world!\n";
> -
> - nc = printf("%s", msg);
> - fail_unless(nc == (sizeof msg
> - - 1) /* for terminating NUL. */
> - );
> -
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("The Suite");
> - TCase *tc1_1 = tcase_create("The Test Case");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - /* User-specified pre-run code */
> - #line 19
> - int declare_me = 0;
> -
> - suite_add_tcase(s1, tc1_1);
> - tcase_add_test(tc1_1, the_test);
> -
> - srunner_run_all(sr, CK_ENV);
> - nf = srunner_ntests_failed(sr);
> - srunner_free(sr);
> -
> - return nf == 0 ? 0 : 1;
> - }
> --- 6,8 ----
> Expected exit status of 0, but got 2.
> Test declarations FAILED.
>
> Running test test_after_main_pre...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/test_after_main_pre/output
> Thu Feb 11 16:35:09 2016
> ***************
> *** 6,39 ****
> #include <check.h>
>
> #line 1 "in"
> - /* A complete test example */
> -
> - #include <stdio.h>
> -
> -
> -
> - START_TEST(the_test)
> - {
> - #line 10
> - int nc;
> - const char msg[] = "\n\n Hello, world!\n";
> -
> - nc = printf("%s", msg);
> - fail_unless(nc == (sizeof msg
> - - 1) /* for terminating NUL. */
> - );
> -
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("The Suite");
> - TCase *tc1_1 = tcase_create("The Test Case");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - /* User-specified pre-run code */
> - #line 19
> - int declare_me = 0;
> -
> --- 6,8 ----
> Unexpected error differences:
> *** x_err Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/test_after_main_pre/err
> Thu Feb 11 16:35:09 2016
> ***************
> *** 1 ****
> ! checkmk: in line 21: Cannot specify tests after main-pre or main-post.
> --- 1,6 ----
> ! /usr/bin/nawk: newline in character class ^[
>
>
> ! ]*#[
>
>
> ! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
>
>
> ! ]+.+$...
> ! input record number 1, file in
> ! source line number 103
> Expected exit status of 1, but got 2.
> Test test_after_main_pre FAILED.
>
> Running test main_pre_multiple...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/main_pre_multiple/output
> Thu Feb 11 16:35:09 2016
> ***************
> *** 6,39 ****
> #include <check.h>
>
> #line 1 "in"
> - /* A complete test example */
> -
> - #include <stdio.h>
> -
> -
> -
> - START_TEST(the_test)
> - {
> - #line 10
> - int nc;
> - const char msg[] = "\n\n Hello, world!\n";
> -
> - nc = printf("%s", msg);
> - fail_unless(nc == (sizeof msg
> - - 1) /* for terminating NUL. */
> - );
> -
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("The Suite");
> - TCase *tc1_1 = tcase_create("The Test Case");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - /* User-specified pre-run code */
> - #line 19
> - int declare_me = 0;
> -
> --- 6,8 ----
> Unexpected error differences:
> *** x_err Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/main_pre_multiple/err
> Thu Feb 11 16:35:09 2016
> ***************
> *** 1 ****
> ! checkmk: in line 21: main-pre specified multiple times.
> --- 1,6 ----
> ! /usr/bin/nawk: newline in character class ^[
>
>
> ! ]*#[
>
>
> ! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
>
>
> ! ]+.+$...
> ! input record number 1, file in
> ! source line number 103
> Expected exit status of 1, but got 2.
> Test main_pre_multiple FAILED.
>
> Running test main_post...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/main_post/output
> Thu Feb 11 16:35:09 2016
> ***************
> *** 6,46 ****
> #include <check.h>
>
> #line 1 "in"
> - /* A complete test example */
> -
> - #include <stdio.h>
> -
> -
> -
> - START_TEST(the_test)
> - {
> - #line 10
> - int nc;
> - const char msg[] = "\n\n Hello, world!\n";
> -
> - nc = printf("%s", msg);
> - fail_unless(nc == (sizeof msg
> - - 1) /* for terminating NUL. */
> - );
> -
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("The Suite");
> - TCase *tc1_1 = tcase_create("The Test Case");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - suite_add_tcase(s1, tc1_1);
> - tcase_add_test(tc1_1, the_test);
> -
> - srunner_run_all(sr, CK_ENV);
> - nf = srunner_ntests_failed(sr);
> - srunner_free(sr);
> -
> - /* User-specified post-run code */
> - #line 19
> - return 0; /* Always report success. */
> - }
> --- 6,8 ----
> Expected exit status of 0, but got 2.
> Test main_post FAILED.
>
> Running test main_pre_after_post...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/main_pre_after_post/output
> Thu Feb 11 16:35:09 2016
> ***************
> *** 6,46 ****
> #include <check.h>
>
> #line 1 "in"
> - /* A complete test example */
> -
> - #include <stdio.h>
> -
> -
> -
> - START_TEST(the_test)
> - {
> - #line 10
> - int nc;
> - const char msg[] = "\n\n Hello, world!\n";
> -
> - nc = printf("%s", msg);
> - fail_unless(nc == (sizeof msg
> - - 1) /* for terminating NUL. */
> - );
> -
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("The Suite");
> - TCase *tc1_1 = tcase_create("The Test Case");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - suite_add_tcase(s1, tc1_1);
> - tcase_add_test(tc1_1, the_test);
> -
> - srunner_run_all(sr, CK_ENV);
> - nf = srunner_ntests_failed(sr);
> - srunner_free(sr);
> -
> - /* User-specified post-run code */
> - #line 19
> - return 0; /* Always report success. */
> -
> --- 6,8 ----
> Unexpected error differences:
> *** x_err Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/main_pre_after_post/err
> Thu Feb 11 16:35:09 2016
> ***************
> *** 1 ****
> ! checkmk: in line 21: main-pre specified after main-post.
> --- 1,6 ----
> ! /usr/bin/nawk: newline in character class ^[
>
>
> ! ]*#[
>
>
> ! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
>
>
> ! ]+.+$...
> ! input record number 1, file in
> ! source line number 103
> Expected exit status of 1, but got 2.
> Test main_pre_after_post FAILED.
>
> Running test test_after_main_post...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/test_after_main_post/output
> Thu Feb 11 16:35:09 2016
> ***************
> *** 6,46 ****
> #include <check.h>
>
> #line 1 "in"
> - /* A complete test example */
> -
> - #include <stdio.h>
> -
> -
> -
> - START_TEST(the_test)
> - {
> - #line 10
> - int nc;
> - const char msg[] = "\n\n Hello, world!\n";
> -
> - nc = printf("%s", msg);
> - fail_unless(nc == (sizeof msg
> - - 1) /* for terminating NUL. */
> - );
> -
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("The Suite");
> - TCase *tc1_1 = tcase_create("The Test Case");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - suite_add_tcase(s1, tc1_1);
> - tcase_add_test(tc1_1, the_test);
> -
> - srunner_run_all(sr, CK_ENV);
> - nf = srunner_ntests_failed(sr);
> - srunner_free(sr);
> -
> - /* User-specified post-run code */
> - #line 19
> - return 0; /* Always report success. */
> -
> --- 6,8 ----
> Unexpected error differences:
> *** x_err Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/test_after_main_post/err
> Thu Feb 11 16:35:09 2016
> ***************
> *** 1 ****
> ! checkmk: in line 21: Cannot specify tests after main-pre or main-post.
> --- 1,6 ----
> ! /usr/bin/nawk: newline in character class ^[
>
>
> ! ]*#[
>
>
> ! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
>
>
> ! ]+.+$...
> ! input record number 1, file in
> ! source line number 103
> Expected exit status of 1, but got 2.
> Test test_after_main_post FAILED.
>
> Running test main_post_multiple...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/main_post_multiple/output
> Thu Feb 11 16:35:09 2016
> ***************
> *** 6,46 ****
> #include <check.h>
>
> #line 1 "in"
> - /* A complete test example */
> -
> - #include <stdio.h>
> -
> -
> -
> - START_TEST(the_test)
> - {
> - #line 10
> - int nc;
> - const char msg[] = "\n\n Hello, world!\n";
> -
> - nc = printf("%s", msg);
> - fail_unless(nc == (sizeof msg
> - - 1) /* for terminating NUL. */
> - );
> -
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("The Suite");
> - TCase *tc1_1 = tcase_create("The Test Case");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - suite_add_tcase(s1, tc1_1);
> - tcase_add_test(tc1_1, the_test);
> -
> - srunner_run_all(sr, CK_ENV);
> - nf = srunner_ntests_failed(sr);
> - srunner_free(sr);
> -
> - /* User-specified post-run code */
> - #line 19
> - return 0; /* Always report success. */
> -
> --- 6,8 ----
> Unexpected error differences:
> *** x_err Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/main_post_multiple/err
> Thu Feb 11 16:35:09 2016
> ***************
> *** 1 ****
> ! checkmk: in line 21: main-post specified multiple times.
> --- 1,6 ----
> ! /usr/bin/nawk: newline in character class ^[
>
>
> ! ]*#[
>
>
> ! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
>
>
> ! ]+.+$...
> ! input record number 1, file in
> ! source line number 103
> Expected exit status of 1, but got 2.
> Test main_post_multiple FAILED.
>
> Running test ucn...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> --- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/ucn/output
> Thu Feb 11 16:35:09 2016
> ***************
> *** 6,43 ****
> #include <check.h>
>
> #line 1 "in"
> - /* A complete test example */
> -
> - #include <stdio.h>
> -
> -
> -
> - START_TEST(the_\u4ECA\u65E5\u306F_test)
> - {
> - #line 10
> - int nc;
> - const char msg[] = "\n\n Hello, world!\n";
> -
> - nc = printf("%s", msg);
> - fail_unless(nc == (sizeof msg
> - - 1) /* for terminating NUL. */
> - );
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("The Suite");
> - TCase *tc1_1 = tcase_create("The Test Case");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - suite_add_tcase(s1, tc1_1);
> - tcase_add_test(tc1_1, the_\u4ECA\u65E5\u306F_test);
> -
> - srunner_run_all(sr, CK_ENV);
> - nf = srunner_ntests_failed(sr);
> - srunner_free(sr);
> -
> - return nf == 0 ? 0 : 1;
> - }
> --- 6,8 ----
> Expected exit status of 0, but got 2.
> Test ucn FAILED.
>
> Running test invalid_ucn...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/invalid_ucn/output
> Thu Feb 11 16:35:09 2016
> ***************
> *** 6,14 ****
> #include <check.h>
>
> #line 1 "in"
> - /* A complete test example */
> -
> - #include <stdio.h>
> -
> -
> -
> --- 6,8 ----
> Unexpected error differences:
> *** x_err Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/invalid_ucn/err
> Thu Feb 11 16:35:09 2016
> ***************
> *** 1 ****
> ! checkmk: in line 9: Malformed test name "the_\u4ECA\u65E5\u306_test"
> (must be a C identifier).
> --- 1,6 ----
> ! /usr/bin/nawk: newline in character class ^[
>
>
> ! ]*#[
>
>
> ! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
>
>
> ! ]+.+$...
> ! input record number 1, file in
> ! source line number 103
> Expected exit status of 1, but got 2.
> Test invalid_ucn FAILED.
>
> Running test argument_ws...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/argument_ws/output
> Thu Feb 11 16:35:09 2016
> ***************
> *** 6,347 ****
> #include <check.h>
>
> #line 1 "in"
> - START_TEST(test1)
> - {
> - #line 2
> - ck_assert(0 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test2)
> - {
> - #line 4
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test3)
> - {
> - #line 6
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test4)
> - {
> - #line 8
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test5)
> - {
> - #line 10
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test6)
> - {
> - #line 12
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test7)
> - {
> - #line 14
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test8)
> - {
> - #line 16
> - ck_assert(1 == 0);
> -
> - }
> - END_TEST
> -
> - START_TEST(test9)
> - {
> - #line 19
> - ck_assert(0 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test10)
> - {
> - #line 21
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test11)
> - {
> - #line 23
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test12)
> - {
> - #line 25
> - ck_assert(1 == 2);
> - }
> - END_TEST
> -
> - START_TEST(test13)
> - {
> - #line 27
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test14)
> - {
> - #line 29
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test15)
> - {
> - #line 31
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test16)
> - {
> - #line 33
> - ck_assert(1 == 0);
> -
> - }
> - END_TEST
> -
> - START_TEST(test17)
> - {
> - #line 36
> - ck_assert(0 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test18)
> - {
> - #line 38
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test19)
> - {
> - #line 40
> - ck_assert(1 == 1);
> - }
> - END_TEST
> -
> - START_TEST(test20)
> - {
> - #line 42
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test21)
> - {
> - #line 44
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test22)
> - {
> - #line 46
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test23)
> - {
> - #line 48
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test24)
> - {
> - #line 50
> - ck_assert(1 == 1);
> -
> - }
> - END_TEST
> -
> - START_TEST(test25)
> - {
> - #line 53
> - ck_assert(0 == 1);
> - }
> - END_TEST
> -
> - START_TEST(test26)
> - {
> - #line 55
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test27)
> - {
> - #line 57
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test28)
> - {
> - #line 59
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test29)
> - {
> - #line 61
> - ck_assert(1 == 1);
> - }
> - END_TEST
> -
> - START_TEST(test30)
> - {
> - #line 63
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test31)
> - {
> - #line 65
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test32)
> - {
> - #line 67
> - ck_assert(1 == 0);
> -
> - }
> - END_TEST
> -
> - START_TEST(test33)
> - {
> - #line 70
> - ck_assert(0 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test34)
> - {
> - #line 72
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test35)
> - {
> - #line 74
> - ck_assert(1 == 1);
> - }
> - END_TEST
> -
> - START_TEST(test36)
> - {
> - #line 76
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test37)
> - {
> - #line 78
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test38)
> - {
> - #line 80
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test39)
> - {
> - #line 82
> - ck_assert(1 == 0);
> - }
> - END_TEST
> -
> - START_TEST(test40)
> - {
> - #line 84
> - ck_assert(1 == 1);
> - }
> - END_TEST
> -
> - int main(void)
> - {
> - Suite *s1 = suite_create("Core");
> - TCase *tc1_1 = tcase_create("Core");
> - SRunner *sr = srunner_create(s1);
> - int nf;
> -
> - suite_add_tcase(s1, tc1_1);
> - tcase_add_exit_test(tc1_1, test1, 0);
> - tcase_add_exit_test(tc1_1, test2, 1);
> - tcase_add_exit_test(tc1_1, test3, 0);
> - tcase_add_exit_test(tc1_1, test4, +0);
> - tcase_add_exit_test(tc1_1, test5, -1);
> - tcase_add_exit_test(tc1_1, test6, -1);
> - tcase_add_exit_test(tc1_1, test7, -0);
> - tcase_add_exit_test(tc1_1, test8, +1);
> - tcase_add_test_raise_signal(tc1_1, test9, 0);
> - tcase_add_test_raise_signal(tc1_1, test10, 1);
> - tcase_add_test_raise_signal(tc1_1, test11, 0);
> - tcase_add_test_raise_signal(tc1_1, test12, +0);
> - tcase_add_test_raise_signal(tc1_1, test13, -1);
> - tcase_add_test_raise_signal(tc1_1, test14, -1);
> - tcase_add_test_raise_signal(tc1_1, test15, -0);
> - tcase_add_test_raise_signal(tc1_1, test16, +1);
> - tcase_add_loop_test(tc1_1, test17, 0, 2);
> - tcase_add_loop_test(tc1_1, test18, 1, 0);
> - tcase_add_loop_test(tc1_1, test19, 0, 1);
> - tcase_add_loop_test(tc1_1, test20, +0, -2);
> - tcase_add_loop_test(tc1_1, test21, -1, +3);
> - tcase_add_loop_test(tc1_1, test22, -1, +2);
> - tcase_add_loop_test(tc1_1, test23, -0, -2);
> - tcase_add_loop_test(tc1_1, test24, +1, -3);
> - tcase_add_loop_exit_test(tc1_1, test25, 1, 0, 2);
> - tcase_add_loop_exit_test(tc1_1, test26, 2, 1, 0);
> - tcase_add_loop_exit_test(tc1_1, test27, 2, 0, 1);
> - tcase_add_loop_exit_test(tc1_1, test28, -1, +0, -2);
> - tcase_add_loop_exit_test(tc1_1, test29, -3, -1, +3);
> - tcase_add_loop_exit_test(tc1_1, test30, +0, -1, +2);
> - tcase_add_loop_exit_test(tc1_1, test31, -4, -0, -2);
> - tcase_add_loop_exit_test(tc1_1, test32, +2, +1, -3);
> - tcase_add_loop_test_raise_signal(tc1_1, test33, 1, 0, 2);
> - tcase_add_loop_test_raise_signal(tc1_1, test34, 2, 1, 0);
> - tcase_add_loop_test_raise_signal(tc1_1, test35, 2, 0, 1);
> - tcase_add_loop_test_raise_signal(tc1_1, test36, -1, +0, -2);
> - tcase_add_loop_test_raise_signal(tc1_1, test37, -3, -1, +3);
> - tcase_add_loop_test_raise_signal(tc1_1, test38, +0, -1, +2);
> - tcase_add_loop_test_raise_signal(tc1_1, test39, -4, -0, -2);
> - tcase_add_loop_test_raise_signal(tc1_1, test40, +2, +1, -3);
> -
> - srunner_run_all(sr, CK_ENV);
> - nf = srunner_ntests_failed(sr);
> - srunner_free(sr);
> -
> - return nf == 0 ? 0 : 1;
> - }
> --- 6,8 ----
> Expected exit status of 0, but got 2.
> Test argument_ws FAILED.
>
> Running test repeated_argument_tests...
> Unexpected output differences:
> *** x_output Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/repeated_argument_tests/output
> Thu Feb 11 16:35:09 2016
> ***************
> *** 6,23 ****
> #include <check.h>
>
> #line 1 "in"
> - /* Fail when tests with identical name are detected */
> -
> - START_TEST(test1)
> - {
> - #line 4
> - ck_assert(1 == 1);
> - }
> - END_TEST
> -
> - START_TEST(test2)
> - {
> - #line 6
> - ck_assert(1 == 1);
> - }
> - END_TEST
> --- 6,8 ----
> Unexpected error differences:
> *** x_err Sun Aug 2 15:31:24 2015
> ---
> /export/home/oscguido/src/check-0.10.0/checkmk/test.out/repeated_argument_tests/err
> Thu Feb 11 16:35:09 2016
> ***************
> *** 1 ****
> ! checkmk: in line 9: Test "test2" already exists.
> --- 1,6 ----
> ! /usr/bin/nawk: newline in character class ^[
>
>
> ! ]*#[
>
>
> ! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
>
>
> ! ]+.+$...
> ! input record number 1, file in
> ! source line number 103
> Expected exit status of 1, but got 2.
> Test repeated_argument_tests FAILED.
>
> ====================
> Test Run Complete
> ====================
> Total: 29
> Passed: 1
> Failed: 28
>
> ****************************************
> TEST RUN FAILED!!!!
> ****************************************
> FAIL: test/check_checkmk
> =============================================================
> 1 of 1 test failed
> Please report to check-devel at lists dot sourceforge dot net
> =============================================================
> gmake[2]: *** [check-TESTS] Error 1
> gmake[2]: Leaving directory `/export/home/oscguido/src/check-0.10.0/checkmk'
> gmake[1]: *** [check-am] Error 2
> gmake[1]: Leaving directory `/export/home/oscguido/src/check-0.10.0/checkmk'
> gmake: *** [check-recursive] Error 1
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>
>
>
> _______________________________________________
> Check-devel mailing list
> Che...@li...
> https://lists.sourceforge.net/lists/listinfo/check-devel
>
|
|
From: Oscar G. <os...@ya...> - 2016-02-11 21:54:11
|
Hello, gmake check failed on Solaris 10 for SPARC64
I'm not using csw packagesThis is how I setup my path:
export PATH=/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/sbin:/usr/sbin:/opt/csw/bin:/usr/sfw/bin
Here's the configure command: ./configure CFLAGS=-m64 LDFLAGS=-m64 --prefix /export/home/oscguido/tfromsrc
Finally, this is the output from gmake check:
Making check in lib
gmake[1]: Entering directory `/export/home/oscguido/src/check-0.10.0/lib'
gmake[1]: Nothing to be done for `check'.
gmake[1]: Leaving directory `/export/home/oscguido/src/check-0.10.0/lib'
Making check in src
gmake[1]: Entering directory `/export/home/oscguido/src/check-0.10.0/src'
gmake[1]: Nothing to be done for `check'.
gmake[1]: Leaving directory `/export/home/oscguido/src/check-0.10.0/src'
Making check in doc
gmake[1]: Entering directory `/export/home/oscguido/src/check-0.10.0/doc'
gmake[1]: Nothing to be done for `check'.
gmake[1]: Leaving directory `/export/home/oscguido/src/check-0.10.0/doc'
Making check in .
gmake[1]: Entering directory `/export/home/oscguido/src/check-0.10.0'
gmake[1]: Leaving directory `/export/home/oscguido/src/check-0.10.0'
Making check in checkmk
gmake[1]: Entering directory `/export/home/oscguido/src/check-0.10.0/checkmk'
gmake check-TESTS
gmake[2]: Entering directory `/export/home/oscguido/src/check-0.10.0/checkmk'
These are the tests for the checkmk program.
====================
Test Run Start
====================
Running test empty_input...
Test empty_input passed.
Running test pass_thru...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/pass_thru/output Thu Feb 11 16:35:08 2016
***************
*** 6,19 ****
#include <check.h>
#line 1 "in"
- /*
- * While a line such as
- *
- #define MY_VALUE 1
- *
- * will be passed; a line such as
- *
- #line 9
- *
- * will not be.
- */
--- 6,8 ----
Unexpected error differences:
*** x_err Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/pass_thru/err Thu Feb 11 16:35:08 2016
***************
*** 1 ****
! checkmk: Expected at least one #test line.
--- 1,6 ----
! /usr/bin/nawk: newline in character class ^[
! ]*#[
! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
! ]+.+$...
! input record number 1, file in
! source line number 103
Expected exit status of 1, but got 2.
Test pass_thru FAILED.
Running test single_test_line...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/single_test_line/output Thu Feb 11 16:35:08 2016
***************
*** 6,30 ****
#include <check.h>
#line 1 "in"
- START_TEST(test_name)
- {
- #line 2
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("Core");
- TCase *tc1_1 = tcase_create("Core");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- suite_add_tcase(s1, tc1_1);
- tcase_add_test(tc1_1, test_name);
-
- srunner_run_all(sr, CK_ENV);
- nf = srunner_ntests_failed(sr);
- srunner_free(sr);
-
- return nf == 0 ? 0 : 1;
- }
--- 6,8 ----
Expected exit status of 0, but got 2.
Test single_test_line FAILED.
Running test basic_complete...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/basic_complete/output Thu Feb 11 16:35:08 2016
***************
*** 6,43 ****
#include <check.h>
#line 1 "in"
- /* A complete test example */
-
- #include <stdio.h>
-
-
-
- START_TEST(the_test)
- {
- #line 10
- int nc;
- const char msg[] = "\n\n Hello, world!\n";
-
- nc = printf("%s", msg);
- fail_unless(nc == (sizeof msg
- - 1) /* for terminating NUL. */
- );
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("The Suite");
- TCase *tc1_1 = tcase_create("The Test Case");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- suite_add_tcase(s1, tc1_1);
- tcase_add_test(tc1_1, the_test);
-
- srunner_run_all(sr, CK_ENV);
- nf = srunner_ntests_failed(sr);
- srunner_free(sr);
-
- return nf == 0 ? 0 : 1;
- }
--- 6,8 ----
Expected exit status of 0, but got 2.
Test basic_complete FAILED.
Running test multiple_everything...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/multiple_everything/output Thu Feb 11 16:35:08 2016
***************
*** 6,100 ****
#include <check.h>
#line 1 "in"
- /* Multiple everything... */
-
- #include <stdlib.h>
- #include <errno.h>
- #include <stdio.h>
-
- void print_message(const char *msg, size_t msgsz)
- {
- int nc;
-
- nc = printf("%s", msg);
- fail_unless(nc == msgsz, "failed to print completely: %s",
- strerror(errno));
- }
-
-
-
- START_TEST(hello_world)
- {
- #line 21
- const char msg[] = "Hello, world!\n";
- print_message(msg, sizeof msg - 1);
-
- }
- END_TEST
-
- START_TEST(neverending_story)
- {
- #line 25
- const char msg[] = "Bastian Balthazar Bux\n";
- print_message(msg, sizeof msg - 1);
-
- }
- END_TEST
-
- START_TEST(math_problem)
- {
- #line 31
- fail_unless(1 + 1 == 2, "Something's broken...");
-
- }
- END_TEST
-
-
- START_TEST(more_math)
- {
- #line 38
- fail_unless(2/2 == 1, "Another weird math result");
-
- }
- END_TEST
-
- START_TEST(weave)
- {
- #line 43
- int i;
- const char msg[] = "###\n";
-
- for (i=0; i != 3; ++i)
- print_message(row, sizeof row - 1);
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("A Suite");
- TCase *tc1_1 = tcase_create("A Test Case");
- TCase *tc1_2 = tcase_create("Another Test Case");
- Suite *s2 = suite_create("Another Suite");
- TCase *tc2_1 = tcase_create("A Test Case for Another Suite");
- TCase *tc2_2 = tcase_create("A Basket Case");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- suite_add_tcase(s1, tc1_1);
- tcase_add_test(tc1_1, hello_world);
- tcase_add_test(tc1_1, neverending_story);
- suite_add_tcase(s1, tc1_2);
- tcase_add_test(tc1_2, math_problem);
- suite_add_tcase(s2, tc2_1);
- tcase_add_test(tc2_1, more_math);
- suite_add_tcase(s2, tc2_2);
- tcase_add_test(tc2_2, weave);
-
- srunner_add_suite(sr, s2);
-
- srunner_run_all(sr, CK_ENV);
- nf = srunner_ntests_failed(sr);
- srunner_free(sr);
-
- return nf == 0 ? 0 : 1;
- }
--- 6,8 ----
Expected exit status of 0, but got 2.
Test multiple_everything FAILED.
Running test between_the_lines...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/between_the_lines/output Thu Feb 11 16:35:08 2016
***************
*** 6,41 ****
#include <check.h>
#line 1 "in"
- int foo;
-
-
- #line 5
- int bar;
-
-
- #line 9
- int baz;
-
- START_TEST(C)
- {
- #line 12
- fail_unless(foo | bar | baz == 0);
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("A");
- TCase *tc1_1 = tcase_create("B");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- suite_add_tcase(s1, tc1_1);
- tcase_add_test(tc1_1, C);
-
- srunner_run_all(sr, CK_ENV);
- nf = srunner_ntests_failed(sr);
- srunner_free(sr);
-
- return nf == 0 ? 0 : 1;
- }
--- 6,8 ----
Expected exit status of 0, but got 2.
Test between_the_lines FAILED.
Running test repeated_suites...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/repeated_suites/output Thu Feb 11 16:35:08 2016
***************
*** 6,17 ****
#include <check.h>
#line 1 "in"
- /* Don't let suite names repeat. */
-
-
-
- START_TEST(ella)
- {
- #line 8
- fail_if(food_poisoned);
-
--- 6,8 ----
Unexpected error differences:
*** x_err Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/repeated_suites/err Thu Feb 11 16:35:08 2016
***************
*** 1 ****
! checkmk: in line 10: Suite "Halibut" already exists.
--- 1,6 ----
! /usr/bin/nawk: newline in character class ^[
! ]*#[
! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
! ]+.+$...
! input record number 1, file in
! source line number 103
Expected exit status of 1, but got 2.
Test repeated_suites FAILED.
Running test repeated_tcases...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/repeated_tcases/output Thu Feb 11 16:35:08 2016
***************
*** 6,20 ****
#include <check.h>
#line 1 "in"
- /* Don't let test case names repeat. */
-
-
-
- START_TEST(sticks)
- {
- #line 8
- fail_if(DEAD_COMPOSERS);
-
- }
- END_TEST
-
--- 6,8 ----
Unexpected error differences:
*** x_err Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/repeated_tcases/err Thu Feb 11 16:35:08 2016
***************
*** 1 ****
! checkmk: in line 12: Test Case "Chopin" already exists.
--- 1,6 ----
! /usr/bin/nawk: newline in character class ^[
! ]*#[
! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
! ]+.+$...
! input record number 1, file in
! source line number 103
Expected exit status of 1, but got 2.
Test repeated_tcases FAILED.
Running test repeated_tests...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/repeated_tests/output Thu Feb 11 16:35:08 2016
***************
*** 6,21 ****
#include <check.h>
#line 1 "in"
- /* Can't use the same test name multiple times. */
-
-
-
- START_TEST(repeat)
- {
- #line 8
- fail_if(MISERABLY);
-
- }
- END_TEST
-
-
--- 6,8 ----
Unexpected error differences:
*** x_err Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/repeated_tests/err Thu Feb 11 16:35:08 2016
***************
*** 1 ****
! checkmk: in line 14: Test "repeat" already exists.
--- 1,6 ----
! /usr/bin/nawk: newline in character class ^[
! ]*#[
! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
! ]+.+$...
! input record number 1, file in
! source line number 103
Expected exit status of 1, but got 2.
Test repeated_tests FAILED.
Running test not_really_repeated...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/not_really_repeated/output Thu Feb 11 16:35:08 2016
***************
*** 6,59 ****
#include <check.h>
#line 1 "in"
- /* Test that repeated suites/tcases are only disallowed when they've
- * actually been used in defining a test. */
-
-
-
- #line 8
- /* But no test... */
-
-
-
- START_TEST(quuux)
- {
- #line 15
- const char msg[] = "Howdy doody!\n";
- int nc = printf(msg);
-
- fail_unless(nc == sizeof msg - 1);
-
- }
- END_TEST
-
-
- START_TEST(huh)
- {
- #line 25
- fail_unless(ALLOWED_AFTER_ALL);
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("Baz");
- TCase *tc1_1 = tcase_create("Quux");
- Suite *s2 = suite_create("Foo");
- TCase *tc2_1 = tcase_create("Bar");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- suite_add_tcase(s1, tc1_1);
- tcase_add_test(tc1_1, quuux);
- suite_add_tcase(s2, tc2_1);
- tcase_add_test(tc2_1, huh);
-
- srunner_add_suite(sr, s2);
-
- srunner_run_all(sr, CK_ENV);
- nf = srunner_ntests_failed(sr);
- srunner_free(sr);
-
- return nf == 0 ? 0 : 1;
- }
--- 6,8 ----
Expected exit status of 0, but got 2.
Test not_really_repeated FAILED.
Running test tcase_implied_repeat...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/tcase_implied_repeat/output Thu Feb 11 16:35:08 2016
***************
*** 6,25 ****
#include <check.h>
#line 1 "in"
- /* Make sure we catch implied tcase repeats (via same name as suite) */
-
-
-
- START_TEST(song)
- {
- #line 8
- fail_unless("be a lady tonight");
-
- }
- END_TEST
-
- #line 12
- /* It's fine for a suite and tcase name to collide...
- but the suite name implies a tcase name of the same value until we
- override it. */
-
--- 6,8 ----
Unexpected error differences:
*** x_err Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/tcase_implied_repeat/err Thu Feb 11 16:35:08 2016
***************
*** 1 ****
! checkmk: in line 16: Test Case "Luck" already exists.
--- 1,6 ----
! /usr/bin/nawk: newline in character class ^[
! ]*#[
! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
! ]+.+$...
! input record number 1, file in
! source line number 103
Expected exit status of 1, but got 2.
Test tcase_implied_repeat FAILED.
Running test case_insensitive_pp...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/case_insensitive_pp/output Thu Feb 11 16:35:08 2016
***************
*** 6,43 ****
#include <check.h>
#line 1 "in"
- /* Test case-insensitive directives. */
-
- #include <stdio.h>
-
-
-
- START_TEST(the_test)
- {
- #line 10
- int nc;
- const char msg[] = "\n\n Hello, world!\n";
-
- nc = printf("%s", msg);
- fail_unless(nc == (sizeof msg
- - 1) /* for terminating NUL. */
- );
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("The Suite");
- TCase *tc1_1 = tcase_create("The Test Case");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- suite_add_tcase(s1, tc1_1);
- tcase_add_test(tc1_1, the_test);
-
- srunner_run_all(sr, CK_ENV);
- nf = srunner_ntests_failed(sr);
- srunner_free(sr);
-
- return nf == 0 ? 0 : 1;
- }
--- 6,8 ----
Expected exit status of 0, but got 2.
Test case_insensitive_pp FAILED.
Running test trailing_ws...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/trailing_ws/output Thu Feb 11 16:35:08 2016
***************
*** 6,43 ****
#include <check.h>
#line 1 "in"
- /* A complete test example (with trailing whitespace) */
-
- #include <stdio.h>
-
-
-
- START_TEST(the_test)
- {
- #line 10
- int nc;
- const char msg[] = "\n\n Hello, world!\n";
-
- nc = printf("%s", msg);
- fail_unless(nc == (sizeof msg
- - 1) /* for terminating NUL. */
- );
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("The Suite");
- TCase *tc1_1 = tcase_create("The Test Case");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- suite_add_tcase(s1, tc1_1);
- tcase_add_test(tc1_1, the_test);
-
- srunner_run_all(sr, CK_ENV);
- nf = srunner_ntests_failed(sr);
- srunner_free(sr);
-
- return nf == 0 ? 0 : 1;
- }
--- 6,8 ----
Expected exit status of 0, but got 2.
Test trailing_ws FAILED.
Running test non_word_chars...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/non_word_chars/output Thu Feb 11 16:35:08 2016
***************
*** 6,43 ****
#include <check.h>
#line 1 "in"
- /* Non-word characters */
-
- #include <stdio.h>
-
-
-
- START_TEST(the_test)
- {
- #line 10
- int nc;
- const char msg[] = "\n\n Hello, world!\n";
-
- nc = printf("%s", msg);
- fail_unless(nc == (sizeof msg
- - 1) /* for terminating NUL. */
- );
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("The Suite (of Test Cases/\\TCases)");
- TCase *tc1_1 = tcase_create("The \"Test Case\"");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- suite_add_tcase(s1, tc1_1);
- tcase_add_test(tc1_1, the_test);
-
- srunner_run_all(sr, CK_ENV);
- nf = srunner_ntests_failed(sr);
- srunner_free(sr);
-
- return nf == 0 ? 0 : 1;
- }
--- 6,8 ----
Expected exit status of 0, but got 2.
Test non_word_chars FAILED.
Running test test_chars...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/test_chars/output Thu Feb 11 16:35:08 2016
***************
*** 6,12 ****
#include <check.h>
#line 1 "in"
- /* tests shouldn't allow non-identifier characters. */
-
-
-
--- 6,8 ----
Unexpected error differences:
*** x_err Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/test_chars/err Thu Feb 11 16:35:08 2016
***************
*** 1 ****
! checkmk: in line 7: Malformed test name "test@me" (must be a C identifier).
--- 1,6 ----
! /usr/bin/nawk: newline in character class ^[
! ]*#[
! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
! ]+.+$...
! input record number 1, file in
! source line number 103
Expected exit status of 1, but got 2.
Test test_chars FAILED.
Running test num_start_test_name...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/num_start_test_name/output Thu Feb 11 16:35:08 2016
***************
*** 6,10 ****
#include <check.h>
#line 1 "in"
- /* Ensure that test names starting with digits are refused. */
-
--- 6,8 ----
Unexpected error differences:
*** x_err Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/num_start_test_name/err Thu Feb 11 16:35:08 2016
***************
*** 1 ****
! checkmk: in line 5: Malformed test name "1nsane" (must be a C identifier).
--- 1,6 ----
! /usr/bin/nawk: newline in character class ^[
! ]*#[
! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
! ]+.+$...
! input record number 1, file in
! source line number 103
Expected exit status of 1, but got 2.
Test num_start_test_name FAILED.
Running test no_args...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/no_args/output Thu Feb 11 16:35:08 2016
***************
*** 5,47 ****
#include <check.h>
- /* A complete test example */
-
- #include <stdio.h>
-
-
-
- START_TEST(the_test)
- {
- int nc;
- const char msg[] = "\n\n Hello, world!\n";
-
- nc = printf("%s", msg);
- fail_unless(nc == (sizeof msg
- - 1) /* for terminating NUL. */
- );
-
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("The Suite");
- TCase *tc1_1 = tcase_create("The Test Case");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- /* User-specified pre-run code */
- int fooyah;
-
-
- suite_add_tcase(s1, tc1_1);
- tcase_add_test(tc1_1, the_test);
-
- srunner_run_all(sr, CK_ENV);
- nf = srunner_ntests_failed(sr);
- srunner_free(sr);
-
- /* User-specified post-run code */
- return nf;
- }
--- 5,7 ----
Expected exit status of 0, but got 2.
Test no_args FAILED.
Running test clean_mode...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/clean_mode/output Thu Feb 11 16:35:08 2016
***************
*** 5,41 ****
#include <check.h>
- /* A complete test example */
-
- #include <stdio.h>
-
-
-
- START_TEST(the_test)
- {
- int nc;
- const char msg[] = "\n\n Hello, world!\n";
-
- nc = printf("%s", msg);
- fail_unless(nc == (sizeof msg
- - 1) /* for terminating NUL. */
- );
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("The Suite");
- TCase *tc1_1 = tcase_create("The Test Case");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- suite_add_tcase(s1, tc1_1);
- tcase_add_test(tc1_1, the_test);
-
- srunner_run_all(sr, CK_ENV);
- nf = srunner_ntests_failed(sr);
- srunner_free(sr);
-
- return nf == 0 ? 0 : 1;
- }
--- 5,7 ----
Expected exit status of 0, but got 2.
Test clean_mode FAILED.
Running test declarations...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/declarations/output Thu Feb 11 16:35:08 2016
***************
*** 6,48 ****
#include <check.h>
#line 1 "in"
- /* A complete test example */
-
- #include <stdio.h>
-
-
-
- START_TEST(the_test)
- {
- #line 10
- int nc;
- const char msg[] = "\n\n Hello, world!\n";
-
- nc = printf("%s", msg);
- fail_unless(nc == (sizeof msg
- - 1) /* for terminating NUL. */
- );
-
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("The Suite");
- TCase *tc1_1 = tcase_create("The Test Case");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- /* User-specified pre-run code */
- #line 19
- int declare_me = 0;
-
- suite_add_tcase(s1, tc1_1);
- tcase_add_test(tc1_1, the_test);
-
- srunner_run_all(sr, CK_ENV);
- nf = srunner_ntests_failed(sr);
- srunner_free(sr);
-
- return nf == 0 ? 0 : 1;
- }
--- 6,8 ----
Expected exit status of 0, but got 2.
Test declarations FAILED.
Running test test_after_main_pre...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/test_after_main_pre/output Thu Feb 11 16:35:09 2016
***************
*** 6,39 ****
#include <check.h>
#line 1 "in"
- /* A complete test example */
-
- #include <stdio.h>
-
-
-
- START_TEST(the_test)
- {
- #line 10
- int nc;
- const char msg[] = "\n\n Hello, world!\n";
-
- nc = printf("%s", msg);
- fail_unless(nc == (sizeof msg
- - 1) /* for terminating NUL. */
- );
-
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("The Suite");
- TCase *tc1_1 = tcase_create("The Test Case");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- /* User-specified pre-run code */
- #line 19
- int declare_me = 0;
-
--- 6,8 ----
Unexpected error differences:
*** x_err Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/test_after_main_pre/err Thu Feb 11 16:35:09 2016
***************
*** 1 ****
! checkmk: in line 21: Cannot specify tests after main-pre or main-post.
--- 1,6 ----
! /usr/bin/nawk: newline in character class ^[
! ]*#[
! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
! ]+.+$...
! input record number 1, file in
! source line number 103
Expected exit status of 1, but got 2.
Test test_after_main_pre FAILED.
Running test main_pre_multiple...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/main_pre_multiple/output Thu Feb 11 16:35:09 2016
***************
*** 6,39 ****
#include <check.h>
#line 1 "in"
- /* A complete test example */
-
- #include <stdio.h>
-
-
-
- START_TEST(the_test)
- {
- #line 10
- int nc;
- const char msg[] = "\n\n Hello, world!\n";
-
- nc = printf("%s", msg);
- fail_unless(nc == (sizeof msg
- - 1) /* for terminating NUL. */
- );
-
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("The Suite");
- TCase *tc1_1 = tcase_create("The Test Case");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- /* User-specified pre-run code */
- #line 19
- int declare_me = 0;
-
--- 6,8 ----
Unexpected error differences:
*** x_err Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/main_pre_multiple/err Thu Feb 11 16:35:09 2016
***************
*** 1 ****
! checkmk: in line 21: main-pre specified multiple times.
--- 1,6 ----
! /usr/bin/nawk: newline in character class ^[
! ]*#[
! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
! ]+.+$...
! input record number 1, file in
! source line number 103
Expected exit status of 1, but got 2.
Test main_pre_multiple FAILED.
Running test main_post...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/main_post/output Thu Feb 11 16:35:09 2016
***************
*** 6,46 ****
#include <check.h>
#line 1 "in"
- /* A complete test example */
-
- #include <stdio.h>
-
-
-
- START_TEST(the_test)
- {
- #line 10
- int nc;
- const char msg[] = "\n\n Hello, world!\n";
-
- nc = printf("%s", msg);
- fail_unless(nc == (sizeof msg
- - 1) /* for terminating NUL. */
- );
-
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("The Suite");
- TCase *tc1_1 = tcase_create("The Test Case");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- suite_add_tcase(s1, tc1_1);
- tcase_add_test(tc1_1, the_test);
-
- srunner_run_all(sr, CK_ENV);
- nf = srunner_ntests_failed(sr);
- srunner_free(sr);
-
- /* User-specified post-run code */
- #line 19
- return 0; /* Always report success. */
- }
--- 6,8 ----
Expected exit status of 0, but got 2.
Test main_post FAILED.
Running test main_pre_after_post...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/main_pre_after_post/output Thu Feb 11 16:35:09 2016
***************
*** 6,46 ****
#include <check.h>
#line 1 "in"
- /* A complete test example */
-
- #include <stdio.h>
-
-
-
- START_TEST(the_test)
- {
- #line 10
- int nc;
- const char msg[] = "\n\n Hello, world!\n";
-
- nc = printf("%s", msg);
- fail_unless(nc == (sizeof msg
- - 1) /* for terminating NUL. */
- );
-
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("The Suite");
- TCase *tc1_1 = tcase_create("The Test Case");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- suite_add_tcase(s1, tc1_1);
- tcase_add_test(tc1_1, the_test);
-
- srunner_run_all(sr, CK_ENV);
- nf = srunner_ntests_failed(sr);
- srunner_free(sr);
-
- /* User-specified post-run code */
- #line 19
- return 0; /* Always report success. */
-
--- 6,8 ----
Unexpected error differences:
*** x_err Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/main_pre_after_post/err Thu Feb 11 16:35:09 2016
***************
*** 1 ****
! checkmk: in line 21: main-pre specified after main-post.
--- 1,6 ----
! /usr/bin/nawk: newline in character class ^[
! ]*#[
! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
! ]+.+$...
! input record number 1, file in
! source line number 103
Expected exit status of 1, but got 2.
Test main_pre_after_post FAILED.
Running test test_after_main_post...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/test_after_main_post/output Thu Feb 11 16:35:09 2016
***************
*** 6,46 ****
#include <check.h>
#line 1 "in"
- /* A complete test example */
-
- #include <stdio.h>
-
-
-
- START_TEST(the_test)
- {
- #line 10
- int nc;
- const char msg[] = "\n\n Hello, world!\n";
-
- nc = printf("%s", msg);
- fail_unless(nc == (sizeof msg
- - 1) /* for terminating NUL. */
- );
-
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("The Suite");
- TCase *tc1_1 = tcase_create("The Test Case");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- suite_add_tcase(s1, tc1_1);
- tcase_add_test(tc1_1, the_test);
-
- srunner_run_all(sr, CK_ENV);
- nf = srunner_ntests_failed(sr);
- srunner_free(sr);
-
- /* User-specified post-run code */
- #line 19
- return 0; /* Always report success. */
-
--- 6,8 ----
Unexpected error differences:
*** x_err Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/test_after_main_post/err Thu Feb 11 16:35:09 2016
***************
*** 1 ****
! checkmk: in line 21: Cannot specify tests after main-pre or main-post.
--- 1,6 ----
! /usr/bin/nawk: newline in character class ^[
! ]*#[
! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
! ]+.+$...
! input record number 1, file in
! source line number 103
Expected exit status of 1, but got 2.
Test test_after_main_post FAILED.
Running test main_post_multiple...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/main_post_multiple/output Thu Feb 11 16:35:09 2016
***************
*** 6,46 ****
#include <check.h>
#line 1 "in"
- /* A complete test example */
-
- #include <stdio.h>
-
-
-
- START_TEST(the_test)
- {
- #line 10
- int nc;
- const char msg[] = "\n\n Hello, world!\n";
-
- nc = printf("%s", msg);
- fail_unless(nc == (sizeof msg
- - 1) /* for terminating NUL. */
- );
-
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("The Suite");
- TCase *tc1_1 = tcase_create("The Test Case");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- suite_add_tcase(s1, tc1_1);
- tcase_add_test(tc1_1, the_test);
-
- srunner_run_all(sr, CK_ENV);
- nf = srunner_ntests_failed(sr);
- srunner_free(sr);
-
- /* User-specified post-run code */
- #line 19
- return 0; /* Always report success. */
-
--- 6,8 ----
Unexpected error differences:
*** x_err Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/main_post_multiple/err Thu Feb 11 16:35:09 2016
***************
*** 1 ****
! checkmk: in line 21: main-post specified multiple times.
--- 1,6 ----
! /usr/bin/nawk: newline in character class ^[
! ]*#[
! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
! ]+.+$...
! input record number 1, file in
! source line number 103
Expected exit status of 1, but got 2.
Test main_post_multiple FAILED.
Running test ucn...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/ucn/output Thu Feb 11 16:35:09 2016
***************
*** 6,43 ****
#include <check.h>
#line 1 "in"
- /* A complete test example */
-
- #include <stdio.h>
-
-
-
- START_TEST(the_\u4ECA\u65E5\u306F_test)
- {
- #line 10
- int nc;
- const char msg[] = "\n\n Hello, world!\n";
-
- nc = printf("%s", msg);
- fail_unless(nc == (sizeof msg
- - 1) /* for terminating NUL. */
- );
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("The Suite");
- TCase *tc1_1 = tcase_create("The Test Case");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- suite_add_tcase(s1, tc1_1);
- tcase_add_test(tc1_1, the_\u4ECA\u65E5\u306F_test);
-
- srunner_run_all(sr, CK_ENV);
- nf = srunner_ntests_failed(sr);
- srunner_free(sr);
-
- return nf == 0 ? 0 : 1;
- }
--- 6,8 ----
Expected exit status of 0, but got 2.
Test ucn FAILED.
Running test invalid_ucn...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/invalid_ucn/output Thu Feb 11 16:35:09 2016
***************
*** 6,14 ****
#include <check.h>
#line 1 "in"
- /* A complete test example */
-
- #include <stdio.h>
-
-
-
--- 6,8 ----
Unexpected error differences:
*** x_err Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/invalid_ucn/err Thu Feb 11 16:35:09 2016
***************
*** 1 ****
! checkmk: in line 9: Malformed test name "the_\u4ECA\u65E5\u306_test" (must be a C identifier).
--- 1,6 ----
! /usr/bin/nawk: newline in character class ^[
! ]*#[
! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
! ]+.+$...
! input record number 1, file in
! source line number 103
Expected exit status of 1, but got 2.
Test invalid_ucn FAILED.
Running test argument_ws...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/argument_ws/output Thu Feb 11 16:35:09 2016
***************
*** 6,347 ****
#include <check.h>
#line 1 "in"
- START_TEST(test1)
- {
- #line 2
- ck_assert(0 == 0);
- }
- END_TEST
-
- START_TEST(test2)
- {
- #line 4
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test3)
- {
- #line 6
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test4)
- {
- #line 8
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test5)
- {
- #line 10
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test6)
- {
- #line 12
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test7)
- {
- #line 14
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test8)
- {
- #line 16
- ck_assert(1 == 0);
-
- }
- END_TEST
-
- START_TEST(test9)
- {
- #line 19
- ck_assert(0 == 0);
- }
- END_TEST
-
- START_TEST(test10)
- {
- #line 21
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test11)
- {
- #line 23
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test12)
- {
- #line 25
- ck_assert(1 == 2);
- }
- END_TEST
-
- START_TEST(test13)
- {
- #line 27
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test14)
- {
- #line 29
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test15)
- {
- #line 31
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test16)
- {
- #line 33
- ck_assert(1 == 0);
-
- }
- END_TEST
-
- START_TEST(test17)
- {
- #line 36
- ck_assert(0 == 0);
- }
- END_TEST
-
- START_TEST(test18)
- {
- #line 38
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test19)
- {
- #line 40
- ck_assert(1 == 1);
- }
- END_TEST
-
- START_TEST(test20)
- {
- #line 42
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test21)
- {
- #line 44
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test22)
- {
- #line 46
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test23)
- {
- #line 48
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test24)
- {
- #line 50
- ck_assert(1 == 1);
-
- }
- END_TEST
-
- START_TEST(test25)
- {
- #line 53
- ck_assert(0 == 1);
- }
- END_TEST
-
- START_TEST(test26)
- {
- #line 55
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test27)
- {
- #line 57
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test28)
- {
- #line 59
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test29)
- {
- #line 61
- ck_assert(1 == 1);
- }
- END_TEST
-
- START_TEST(test30)
- {
- #line 63
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test31)
- {
- #line 65
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test32)
- {
- #line 67
- ck_assert(1 == 0);
-
- }
- END_TEST
-
- START_TEST(test33)
- {
- #line 70
- ck_assert(0 == 0);
- }
- END_TEST
-
- START_TEST(test34)
- {
- #line 72
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test35)
- {
- #line 74
- ck_assert(1 == 1);
- }
- END_TEST
-
- START_TEST(test36)
- {
- #line 76
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test37)
- {
- #line 78
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test38)
- {
- #line 80
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test39)
- {
- #line 82
- ck_assert(1 == 0);
- }
- END_TEST
-
- START_TEST(test40)
- {
- #line 84
- ck_assert(1 == 1);
- }
- END_TEST
-
- int main(void)
- {
- Suite *s1 = suite_create("Core");
- TCase *tc1_1 = tcase_create("Core");
- SRunner *sr = srunner_create(s1);
- int nf;
-
- suite_add_tcase(s1, tc1_1);
- tcase_add_exit_test(tc1_1, test1, 0);
- tcase_add_exit_test(tc1_1, test2, 1);
- tcase_add_exit_test(tc1_1, test3, 0);
- tcase_add_exit_test(tc1_1, test4, +0);
- tcase_add_exit_test(tc1_1, test5, -1);
- tcase_add_exit_test(tc1_1, test6, -1);
- tcase_add_exit_test(tc1_1, test7, -0);
- tcase_add_exit_test(tc1_1, test8, +1);
- tcase_add_test_raise_signal(tc1_1, test9, 0);
- tcase_add_test_raise_signal(tc1_1, test10, 1);
- tcase_add_test_raise_signal(tc1_1, test11, 0);
- tcase_add_test_raise_signal(tc1_1, test12, +0);
- tcase_add_test_raise_signal(tc1_1, test13, -1);
- tcase_add_test_raise_signal(tc1_1, test14, -1);
- tcase_add_test_raise_signal(tc1_1, test15, -0);
- tcase_add_test_raise_signal(tc1_1, test16, +1);
- tcase_add_loop_test(tc1_1, test17, 0, 2);
- tcase_add_loop_test(tc1_1, test18, 1, 0);
- tcase_add_loop_test(tc1_1, test19, 0, 1);
- tcase_add_loop_test(tc1_1, test20, +0, -2);
- tcase_add_loop_test(tc1_1, test21, -1, +3);
- tcase_add_loop_test(tc1_1, test22, -1, +2);
- tcase_add_loop_test(tc1_1, test23, -0, -2);
- tcase_add_loop_test(tc1_1, test24, +1, -3);
- tcase_add_loop_exit_test(tc1_1, test25, 1, 0, 2);
- tcase_add_loop_exit_test(tc1_1, test26, 2, 1, 0);
- tcase_add_loop_exit_test(tc1_1, test27, 2, 0, 1);
- tcase_add_loop_exit_test(tc1_1, test28, -1, +0, -2);
- tcase_add_loop_exit_test(tc1_1, test29, -3, -1, +3);
- tcase_add_loop_exit_test(tc1_1, test30, +0, -1, +2);
- tcase_add_loop_exit_test(tc1_1, test31, -4, -0, -2);
- tcase_add_loop_exit_test(tc1_1, test32, +2, +1, -3);
- tcase_add_loop_test_raise_signal(tc1_1, test33, 1, 0, 2);
- tcase_add_loop_test_raise_signal(tc1_1, test34, 2, 1, 0);
- tcase_add_loop_test_raise_signal(tc1_1, test35, 2, 0, 1);
- tcase_add_loop_test_raise_signal(tc1_1, test36, -1, +0, -2);
- tcase_add_loop_test_raise_signal(tc1_1, test37, -3, -1, +3);
- tcase_add_loop_test_raise_signal(tc1_1, test38, +0, -1, +2);
- tcase_add_loop_test_raise_signal(tc1_1, test39, -4, -0, -2);
- tcase_add_loop_test_raise_signal(tc1_1, test40, +2, +1, -3);
-
- srunner_run_all(sr, CK_ENV);
- nf = srunner_ntests_failed(sr);
- srunner_free(sr);
-
- return nf == 0 ? 0 : 1;
- }
--- 6,8 ----
Expected exit status of 0, but got 2.
Test argument_ws FAILED.
Running test repeated_argument_tests...
Unexpected output differences:
*** x_output Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/repeated_argument_tests/output Thu Feb 11 16:35:09 2016
***************
*** 6,23 ****
#include <check.h>
#line 1 "in"
- /* Fail when tests with identical name are detected */
-
- START_TEST(test1)
- {
- #line 4
- ck_assert(1 == 1);
- }
- END_TEST
-
- START_TEST(test2)
- {
- #line 6
- ck_assert(1 == 1);
- }
- END_TEST
--- 6,8 ----
Unexpected error differences:
*** x_err Sun Aug 2 15:31:24 2015
--- /export/home/oscguido/src/check-0.10.0/checkmk/test.out/repeated_argument_tests/err Thu Feb 11 16:35:09 2016
***************
*** 1 ****
! checkmk: in line 9: Test "test2" already exists.
--- 1,6 ----
! /usr/bin/nawk: newline in character class ^[
! ]*#[
! ]*([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])[
! ]+.+$...
! input record number 1, file in
! source line number 103
Expected exit status of 1, but got 2.
Test repeated_argument_tests FAILED.
====================
Test Run Complete
====================
Total: 29
Passed: 1
Failed: 28
****************************************
TEST RUN FAILED!!!!
****************************************
FAIL: test/check_checkmk
=============================================================
1 of 1 test failed
Please report to check-devel at lists dot sourceforge dot net
=============================================================
gmake[2]: *** [check-TESTS] Error 1
gmake[2]: Leaving directory `/export/home/oscguido/src/check-0.10.0/checkmk'
gmake[1]: *** [check-am] Error 2
gmake[1]: Leaving directory `/export/home/oscguido/src/check-0.10.0/checkmk'
gmake: *** [check-recursive] Error 1
|
|
From: Branden A. <b.m...@gm...> - 2015-12-27 02:38:24
|
> > Yes, I checked out the printf-fix branch and everything works beautifully. Nice! I've submitted the fix to Check's master branch. It will appear in the next release of Check. Thanks for letting us know about the problem and reporting your findings. - Branden On Sat, Dec 26, 2015 at 7:09 PM, santorini lysias <san...@gm... > wrote: > Yes, I checked out the printf-fix branch and everything works beautifully. > > > ============================================================================ > Testsuite summary for Check 0.10.0 > > ============================================================================ > # TOTAL: 8 > # PASS: 8 > # SKIP: 0 > # XFAIL: 0 > # FAIL: 0 > # XPASS: 0 > # ERROR: 0 > > ============================================================================ > > > On Sun, Dec 27, 2015 at 1:05 AM, Branden Archer <b.m...@gm...> > wrote: > >> Curious, I installed Lubuntu 15.10 in a VM and installed the following >> packages: >> >> - git >> - gcc >> - pkg-config >> - automake >> - libtool >> - texinfo >> - vim >> >> I was able to reproduce the issue. It turns out that the built-in printf >> command in the sh on Lubuntu does not interpret hex escapes as expected. On >> most systems that I've tried, I see the following: >> >> $ printf "hi\x9there\n" >> hi there >> $ >> >> However, on Lubuntu the built-in printf command in sh produces the >> following: >> >> $ sh -c 'printf "hi\x9there\n' >> hi\x9there >> $ >> >> >> I think that Check can get around this by attempting to use the printf >> program instead of a built-in by invoking printf as : >> >> env printf >> >> instead of directly. Trying this out on Lubuntu did get around the >> problem. I have a change that is building now on our Jenkins instance. If >> you would like, could you check that the fix works for you as well on >> Lubuntu? If all is well, I'll push it into Check. >> >> $ git clone https://github.com/brarcher/check.git >> $ cd check >> $ checkout printf-fix >> $ autoreconf -i >> $ ./configure --disable-timeout-tests >> # ^ the --disable-timeout-tests will not execute tests which >> # take a long time and have nothing to do with the printf issue >> $ make >> $ make check >> >> - Branden >> >> >> >> On Sat, Dec 26, 2015 at 9:28 AM, Branden Archer <b.m...@gm...> >> wrote: >> >>> Of the 8 tests run during "make check," I am failing 3/8. The ones which >>>> fail are as follows--test_output.sh, test_log_output.sh, and >>>> test_tap_output.sh. >>> >>> >>> Sorry that you are running into this. Can you provide the output from >>> each of the three offending tests so that we can see what is going wrong? >>> Namely, cd into the tests directory and execute each of the scripts >>> individually then send the result. >>> >>> $ cd tests >>> $ ./test_output.sh | tee test_output.log >>> $ ./test_log_output.sh | tee test_log_output.log >>> $ ./test_tap_output.sh | tree test_tap_output.log >>> >>> Could you also log a bug against Check for this as well, and put the >>> logs there? >>> https://github.com/libcheck/check/issues >>> >>> >>> I tried running the money tutorial, and it initially failed. I then >>>> hunted around online, and someone suggested to run ldconfig, and after >>>> that, the money tutorial passes. >>> >>> >>> The README >>> <https://github.com/libcheck/check/blob/master/doc/example/README> in >>> the Check example mentioned that it expects Check to be already installed >>> on the system to work. If Check was not yet installed on the system the >>> example may not have been able to find Check in its configure script. Maybe >>> ldconfig allowed the configure script to find the Check that you had >>> compiled but not installed? >>> >>> >>> Is this possible, for the installation tests to fail but for the money >>>> tutorial to pass? >>> >>> >>> Sure this is possible if Check has a bug on a given platform. The >>> example shows only simple tests, but Check's own tests are comprehensive. >>> >>> - Branden >>> >>> >>> On Sat, Dec 26, 2015 at 6:37 AM, santorini lysias < >>> san...@gm...> wrote: >>> >>>> I am attempting to build from source on Lubuntu. My version of Ubuntu >>>> is 14.04. >>>> >>>> Of the 8 tests run during "make check," I am failing 3/8. The ones >>>> which fail are as follows--test_output.sh, test_log_output.sh, and >>>> test_tap_output.sh. >>>> >>>> I tried running the money tutorial, and it initially failed. I then >>>> hunted around online, and someone suggested to run ldconfig, and after >>>> that, the money tutorial passes. Is this possible, for the installation >>>> tests to fail but for the money tutorial to pass? >>>> >>>> The logs below are divided into 3 sections. >>>> 1. Log after "make check." 3 tests fail >>>> 2. Money tutorial passes. 1 test passes (after running ldconfig) >>>> 3. Check dependency versions. Just to show all my dependencies are up >>>> to date. >>>> >>>> >>>> *Log after "make check"* >>>> Making check in lib >>>> make[1]: Entering directory `/home/ahan/Linux/rep/check/lib' >>>> make[1]: Nothing to be done for `check'. >>>> make[1]: Leaving directory `/home/ahan/Linux/rep/check/lib' >>>> Making check in src >>>> make[1]: Entering directory `/home/ahan/Linux/rep/check/src' >>>> make[1]: Nothing to be done for `check'. >>>> make[1]: Leaving directory `/home/ahan/Linux/rep/check/src' >>>> Making check in doc >>>> make[1]: Entering directory `/home/ahan/Linux/rep/check/doc' >>>> make[1]: Nothing to be done for `check'. >>>> make[1]: Leaving directory `/home/ahan/Linux/rep/check/doc' >>>> Making check in . >>>> make[1]: Entering directory `/home/ahan/Linux/rep/check' >>>> make[1]: Leaving directory `/home/ahan/Linux/rep/check' >>>> Making check in checkmk >>>> make[1]: Entering directory `/home/ahan/Linux/rep/check/checkmk' >>>> make check-TESTS >>>> make[2]: Entering directory `/home/ahan/Linux/rep/check/checkmk' >>>> make[3]: Entering directory `/home/ahan/Linux/rep/check/checkmk' >>>> PASS: test/check_checkmk >>>> make[4]: Entering directory `/home/ahan/Linux/rep/check/checkmk' >>>> make[4]: Nothing to be done for `all'. >>>> make[4]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' >>>> >>>> ============================================================================ >>>> Testsuite summary for Check 0.10.0 >>>> >>>> ============================================================================ >>>> # TOTAL: 1 >>>> # PASS: 1 >>>> # SKIP: 0 >>>> # XFAIL: 0 >>>> # FAIL: 0 >>>> # XPASS: 0 >>>> # ERROR: 0 >>>> >>>> ============================================================================ >>>> make[3]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' >>>> make[2]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' >>>> make[1]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' >>>> Making check in tests >>>> make[1]: Entering directory `/home/ahan/Linux/rep/check/tests' >>>> make check-TESTS >>>> make[2]: Entering directory `/home/ahan/Linux/rep/check/tests' >>>> make[3]: Entering directory `/home/ahan/Linux/rep/check/tests' >>>> PASS: check_check_export >>>> PASS: check_check >>>> FAIL: test_output.sh >>>> PASS: test_check_nofork.sh >>>> PASS: test_check_nofork_teardown.sh >>>> PASS: test_xml_output.sh >>>> FAIL: test_log_output.sh >>>> FAIL: test_tap_output.sh >>>> make[4]: Entering directory `/home/ahan/Linux/rep/check/tests' >>>> make[4]: Nothing to be done for `all'. >>>> make[4]: Leaving directory `/home/ahan/Linux/rep/check/tests' >>>> >>>> ============================================================================ >>>> Testsuite summary for Check 0.10.0 >>>> >>>> ============================================================================ >>>> # TOTAL: 8 >>>> # PASS: 5 >>>> # SKIP: 0 >>>> # XFAIL: 0 >>>> # FAIL: 3 >>>> # XPASS: 0 >>>> # ERROR: 0 >>>> >>>> ============================================================================ >>>> See tests/test-suite.log >>>> Please report to check-devel at lists dot sourceforge dot net >>>> >>>> ============================================================================ >>>> make[3]: *** [test-suite.log] Error 1 >>>> make[3]: Leaving directory `/home/ahan/Linux/rep/check/tests' >>>> make[2]: *** [check-TESTS] Error 2 >>>> make[2]: Leaving directory `/home/ahan/Linux/rep/check/tests' >>>> make[1]: *** [check-am] Error 2 >>>> make[1]: Leaving directory `/home/ahan/Linux/rep/check/tests' >>>> make: *** [check-recursive] Error 1 >>>> >>>> >>>> *Money tutorial passes* >>>> ahan@ahan-Aspire-V5-571:~/Linux/dcj/2015.12.26.check-tutorial/example$ >>>> make check >>>> Making check in src >>>> make[1]: Entering directory >>>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/src' >>>> make[1]: Nothing to be done for `check'. >>>> make[1]: Leaving directory >>>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/src' >>>> Making check in . >>>> make[1]: Entering directory >>>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example' >>>> make[1]: Leaving directory >>>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example' >>>> Making check in tests >>>> make[1]: Entering directory >>>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>>> make check_money >>>> make[2]: Entering directory >>>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>>> gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/local/include -g -O2 >>>> -MT check_money-check_money.o -MD -MP -MF .deps/check_money-check_money.Tpo >>>> -c -o check_money-check_money.o `test -f 'check_money.c' || echo >>>> './'`check_money.c >>>> mv -f .deps/check_money-check_money.Tpo .deps/check_money-check_money.Po >>>> /bin/bash ../libtool --tag=CC --mode=link gcc -pthread >>>> -I/usr/local/include -g -O2 -o check_money check_money-check_money.o >>>> ../src/libmoney.la -L/usr/local/lib -lcheck >>>> libtool: link: gcc -pthread -I/usr/local/include -g -O2 -o >>>> .libs/check_money check_money-check_money.o ../src/.libs/libmoney.so >>>> -L/usr/local/lib /usr/local/lib/libcheck.so -pthread >>>> make[2]: Leaving directory >>>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>>> make check-TESTS >>>> make[2]: Entering directory >>>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>>> make[3]: Entering directory >>>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>>> PASS: check_money >>>> make[4]: Entering directory >>>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>>> make[4]: Nothing to be done for `all'. >>>> make[4]: Leaving directory >>>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>>> >>>> ============================================================================ >>>> Testsuite summary for Money 0.3 >>>> >>>> ============================================================================ >>>> # TOTAL: 1 >>>> # PASS: 1 >>>> # SKIP: 0 >>>> # XFAIL: 0 >>>> # FAIL: 0 >>>> # XPASS: 0 >>>> # ERROR: 0 >>>> >>>> ============================================================================ >>>> make[3]: Leaving directory >>>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>>> make[2]: Leaving directory >>>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>>> make[1]: Leaving directory >>>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>>> >>>> >>>> *Check dependency versions* >>>> ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ automake --version >>>> automake (GNU automake) 1.14.1 >>>> Copyright (C) 2013 Free Software Foundation, Inc. >>>> License GPLv2+: GNU GPL version 2 or later < >>>> http://gnu.org/licenses/gpl-2.0.html> >>>> This is free software: you are free to change and redistribute it. >>>> There is NO WARRANTY, to the extent permitted by law. >>>> >>>> Written by Tom Tromey <tr...@re...> >>>> and Alexandre Duret-Lutz <ad...@gn...>. >>>> ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ autoconf --version >>>> autoconf (GNU Autoconf) 2.69 >>>> Copyright (C) 2012 Free Software Foundation, Inc. >>>> License GPLv3+/Autoconf: GNU GPL version 3 or later >>>> <http://gnu.org/licenses/gpl.html>, < >>>> http://gnu.org/licenses/exceptions.html> >>>> This is free software: you are free to change and redistribute it. >>>> There is NO WARRANTY, to the extent permitted by law. >>>> >>>> Written by David J. MacKenzie and Akim Demaille. >>>> ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ libtool --version >>>> libtool (GNU libtool) 2.4.2 >>>> Written by Gordon Matzigkeit <go...@gn...>, 1996 >>>> >>>> Copyright (C) 2011 Free Software Foundation, Inc. >>>> This is free software; see the source for copying conditions. There is >>>> NO >>>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR >>>> PURPOSE. >>>> ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ pkg-config --version >>>> 0.26 >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Check-devel mailing list >>>> Che...@li... >>>> https://lists.sourceforge.net/lists/listinfo/check-devel >>>> >>>> >>> >> > |
|
From: santorini l. <san...@gm...> - 2015-12-27 00:09:48
|
Yes, I checked out the printf-fix branch and everything works beautifully. ============================================================================ Testsuite summary for Check 0.10.0 ============================================================================ # TOTAL: 8 # PASS: 8 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ On Sun, Dec 27, 2015 at 1:05 AM, Branden Archer <b.m...@gm...> wrote: > Curious, I installed Lubuntu 15.10 in a VM and installed the following > packages: > > - git > - gcc > - pkg-config > - automake > - libtool > - texinfo > - vim > > I was able to reproduce the issue. It turns out that the built-in printf > command in the sh on Lubuntu does not interpret hex escapes as expected. On > most systems that I've tried, I see the following: > > $ printf "hi\x9there\n" > hi there > $ > > However, on Lubuntu the built-in printf command in sh produces the > following: > > $ sh -c 'printf "hi\x9there\n' > hi\x9there > $ > > > I think that Check can get around this by attempting to use the printf > program instead of a built-in by invoking printf as : > > env printf > > instead of directly. Trying this out on Lubuntu did get around the > problem. I have a change that is building now on our Jenkins instance. If > you would like, could you check that the fix works for you as well on > Lubuntu? If all is well, I'll push it into Check. > > $ git clone https://github.com/brarcher/check.git > $ cd check > $ checkout printf-fix > $ autoreconf -i > $ ./configure --disable-timeout-tests > # ^ the --disable-timeout-tests will not execute tests which > # take a long time and have nothing to do with the printf issue > $ make > $ make check > > - Branden > > > > On Sat, Dec 26, 2015 at 9:28 AM, Branden Archer <b.m...@gm...> > wrote: > >> Of the 8 tests run during "make check," I am failing 3/8. The ones which >>> fail are as follows--test_output.sh, test_log_output.sh, and >>> test_tap_output.sh. >> >> >> Sorry that you are running into this. Can you provide the output from >> each of the three offending tests so that we can see what is going wrong? >> Namely, cd into the tests directory and execute each of the scripts >> individually then send the result. >> >> $ cd tests >> $ ./test_output.sh | tee test_output.log >> $ ./test_log_output.sh | tee test_log_output.log >> $ ./test_tap_output.sh | tree test_tap_output.log >> >> Could you also log a bug against Check for this as well, and put the logs >> there? >> https://github.com/libcheck/check/issues >> >> >> I tried running the money tutorial, and it initially failed. I then >>> hunted around online, and someone suggested to run ldconfig, and after >>> that, the money tutorial passes. >> >> >> The README >> <https://github.com/libcheck/check/blob/master/doc/example/README> in >> the Check example mentioned that it expects Check to be already installed >> on the system to work. If Check was not yet installed on the system the >> example may not have been able to find Check in its configure script. Maybe >> ldconfig allowed the configure script to find the Check that you had >> compiled but not installed? >> >> >> Is this possible, for the installation tests to fail but for the money >>> tutorial to pass? >> >> >> Sure this is possible if Check has a bug on a given platform. The example >> shows only simple tests, but Check's own tests are comprehensive. >> >> - Branden >> >> >> On Sat, Dec 26, 2015 at 6:37 AM, santorini lysias < >> san...@gm...> wrote: >> >>> I am attempting to build from source on Lubuntu. My version of Ubuntu is >>> 14.04. >>> >>> Of the 8 tests run during "make check," I am failing 3/8. The ones which >>> fail are as follows--test_output.sh, test_log_output.sh, and >>> test_tap_output.sh. >>> >>> I tried running the money tutorial, and it initially failed. I then >>> hunted around online, and someone suggested to run ldconfig, and after >>> that, the money tutorial passes. Is this possible, for the installation >>> tests to fail but for the money tutorial to pass? >>> >>> The logs below are divided into 3 sections. >>> 1. Log after "make check." 3 tests fail >>> 2. Money tutorial passes. 1 test passes (after running ldconfig) >>> 3. Check dependency versions. Just to show all my dependencies are up to >>> date. >>> >>> >>> *Log after "make check"* >>> Making check in lib >>> make[1]: Entering directory `/home/ahan/Linux/rep/check/lib' >>> make[1]: Nothing to be done for `check'. >>> make[1]: Leaving directory `/home/ahan/Linux/rep/check/lib' >>> Making check in src >>> make[1]: Entering directory `/home/ahan/Linux/rep/check/src' >>> make[1]: Nothing to be done for `check'. >>> make[1]: Leaving directory `/home/ahan/Linux/rep/check/src' >>> Making check in doc >>> make[1]: Entering directory `/home/ahan/Linux/rep/check/doc' >>> make[1]: Nothing to be done for `check'. >>> make[1]: Leaving directory `/home/ahan/Linux/rep/check/doc' >>> Making check in . >>> make[1]: Entering directory `/home/ahan/Linux/rep/check' >>> make[1]: Leaving directory `/home/ahan/Linux/rep/check' >>> Making check in checkmk >>> make[1]: Entering directory `/home/ahan/Linux/rep/check/checkmk' >>> make check-TESTS >>> make[2]: Entering directory `/home/ahan/Linux/rep/check/checkmk' >>> make[3]: Entering directory `/home/ahan/Linux/rep/check/checkmk' >>> PASS: test/check_checkmk >>> make[4]: Entering directory `/home/ahan/Linux/rep/check/checkmk' >>> make[4]: Nothing to be done for `all'. >>> make[4]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' >>> >>> ============================================================================ >>> Testsuite summary for Check 0.10.0 >>> >>> ============================================================================ >>> # TOTAL: 1 >>> # PASS: 1 >>> # SKIP: 0 >>> # XFAIL: 0 >>> # FAIL: 0 >>> # XPASS: 0 >>> # ERROR: 0 >>> >>> ============================================================================ >>> make[3]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' >>> make[2]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' >>> make[1]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' >>> Making check in tests >>> make[1]: Entering directory `/home/ahan/Linux/rep/check/tests' >>> make check-TESTS >>> make[2]: Entering directory `/home/ahan/Linux/rep/check/tests' >>> make[3]: Entering directory `/home/ahan/Linux/rep/check/tests' >>> PASS: check_check_export >>> PASS: check_check >>> FAIL: test_output.sh >>> PASS: test_check_nofork.sh >>> PASS: test_check_nofork_teardown.sh >>> PASS: test_xml_output.sh >>> FAIL: test_log_output.sh >>> FAIL: test_tap_output.sh >>> make[4]: Entering directory `/home/ahan/Linux/rep/check/tests' >>> make[4]: Nothing to be done for `all'. >>> make[4]: Leaving directory `/home/ahan/Linux/rep/check/tests' >>> >>> ============================================================================ >>> Testsuite summary for Check 0.10.0 >>> >>> ============================================================================ >>> # TOTAL: 8 >>> # PASS: 5 >>> # SKIP: 0 >>> # XFAIL: 0 >>> # FAIL: 3 >>> # XPASS: 0 >>> # ERROR: 0 >>> >>> ============================================================================ >>> See tests/test-suite.log >>> Please report to check-devel at lists dot sourceforge dot net >>> >>> ============================================================================ >>> make[3]: *** [test-suite.log] Error 1 >>> make[3]: Leaving directory `/home/ahan/Linux/rep/check/tests' >>> make[2]: *** [check-TESTS] Error 2 >>> make[2]: Leaving directory `/home/ahan/Linux/rep/check/tests' >>> make[1]: *** [check-am] Error 2 >>> make[1]: Leaving directory `/home/ahan/Linux/rep/check/tests' >>> make: *** [check-recursive] Error 1 >>> >>> >>> *Money tutorial passes* >>> ahan@ahan-Aspire-V5-571:~/Linux/dcj/2015.12.26.check-tutorial/example$ >>> make check >>> Making check in src >>> make[1]: Entering directory >>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/src' >>> make[1]: Nothing to be done for `check'. >>> make[1]: Leaving directory >>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/src' >>> Making check in . >>> make[1]: Entering directory >>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example' >>> make[1]: Leaving directory >>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example' >>> Making check in tests >>> make[1]: Entering directory >>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>> make check_money >>> make[2]: Entering directory >>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>> gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/local/include -g -O2 >>> -MT check_money-check_money.o -MD -MP -MF .deps/check_money-check_money.Tpo >>> -c -o check_money-check_money.o `test -f 'check_money.c' || echo >>> './'`check_money.c >>> mv -f .deps/check_money-check_money.Tpo .deps/check_money-check_money.Po >>> /bin/bash ../libtool --tag=CC --mode=link gcc -pthread >>> -I/usr/local/include -g -O2 -o check_money check_money-check_money.o >>> ../src/libmoney.la -L/usr/local/lib -lcheck >>> libtool: link: gcc -pthread -I/usr/local/include -g -O2 -o >>> .libs/check_money check_money-check_money.o ../src/.libs/libmoney.so >>> -L/usr/local/lib /usr/local/lib/libcheck.so -pthread >>> make[2]: Leaving directory >>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>> make check-TESTS >>> make[2]: Entering directory >>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>> make[3]: Entering directory >>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>> PASS: check_money >>> make[4]: Entering directory >>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>> make[4]: Nothing to be done for `all'. >>> make[4]: Leaving directory >>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>> >>> ============================================================================ >>> Testsuite summary for Money 0.3 >>> >>> ============================================================================ >>> # TOTAL: 1 >>> # PASS: 1 >>> # SKIP: 0 >>> # XFAIL: 0 >>> # FAIL: 0 >>> # XPASS: 0 >>> # ERROR: 0 >>> >>> ============================================================================ >>> make[3]: Leaving directory >>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>> make[2]: Leaving directory >>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>> make[1]: Leaving directory >>> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >>> >>> >>> *Check dependency versions* >>> ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ automake --version >>> automake (GNU automake) 1.14.1 >>> Copyright (C) 2013 Free Software Foundation, Inc. >>> License GPLv2+: GNU GPL version 2 or later < >>> http://gnu.org/licenses/gpl-2.0.html> >>> This is free software: you are free to change and redistribute it. >>> There is NO WARRANTY, to the extent permitted by law. >>> >>> Written by Tom Tromey <tr...@re...> >>> and Alexandre Duret-Lutz <ad...@gn...>. >>> ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ autoconf --version >>> autoconf (GNU Autoconf) 2.69 >>> Copyright (C) 2012 Free Software Foundation, Inc. >>> License GPLv3+/Autoconf: GNU GPL version 3 or later >>> <http://gnu.org/licenses/gpl.html>, < >>> http://gnu.org/licenses/exceptions.html> >>> This is free software: you are free to change and redistribute it. >>> There is NO WARRANTY, to the extent permitted by law. >>> >>> Written by David J. MacKenzie and Akim Demaille. >>> ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ libtool --version >>> libtool (GNU libtool) 2.4.2 >>> Written by Gordon Matzigkeit <go...@gn...>, 1996 >>> >>> Copyright (C) 2011 Free Software Foundation, Inc. >>> This is free software; see the source for copying conditions. There is >>> NO >>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> PURPOSE. >>> ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ pkg-config --version >>> 0.26 >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Check-devel mailing list >>> Che...@li... >>> https://lists.sourceforge.net/lists/listinfo/check-devel >>> >>> >> > |
|
From: Branden A. <b.m...@gm...> - 2015-12-26 17:05:24
|
Curious, I installed Lubuntu 15.10 in a VM and installed the following packages: - git - gcc - pkg-config - automake - libtool - texinfo - vim I was able to reproduce the issue. It turns out that the built-in printf command in the sh on Lubuntu does not interpret hex escapes as expected. On most systems that I've tried, I see the following: $ printf "hi\x9there\n" hi there $ However, on Lubuntu the built-in printf command in sh produces the following: $ sh -c 'printf "hi\x9there\n' hi\x9there $ I think that Check can get around this by attempting to use the printf program instead of a built-in by invoking printf as : env printf instead of directly. Trying this out on Lubuntu did get around the problem. I have a change that is building now on our Jenkins instance. If you would like, could you check that the fix works for you as well on Lubuntu? If all is well, I'll push it into Check. $ git clone https://github.com/brarcher/check.git $ cd check $ checkout printf-fix $ autoreconf -i $ ./configure --disable-timeout-tests # ^ the --disable-timeout-tests will not execute tests which # take a long time and have nothing to do with the printf issue $ make $ make check - Branden On Sat, Dec 26, 2015 at 9:28 AM, Branden Archer <b.m...@gm...> wrote: > Of the 8 tests run during "make check," I am failing 3/8. The ones which >> fail are as follows--test_output.sh, test_log_output.sh, and >> test_tap_output.sh. > > > Sorry that you are running into this. Can you provide the output from each > of the three offending tests so that we can see what is going wrong? > Namely, cd into the tests directory and execute each of the scripts > individually then send the result. > > $ cd tests > $ ./test_output.sh | tee test_output.log > $ ./test_log_output.sh | tee test_log_output.log > $ ./test_tap_output.sh | tree test_tap_output.log > > Could you also log a bug against Check for this as well, and put the logs > there? > https://github.com/libcheck/check/issues > > > I tried running the money tutorial, and it initially failed. I then hunted >> around online, and someone suggested to run ldconfig, and after that, the >> money tutorial passes. > > > The README > <https://github.com/libcheck/check/blob/master/doc/example/README> in the > Check example mentioned that it expects Check to be already installed on > the system to work. If Check was not yet installed on the system the > example may not have been able to find Check in its configure script. Maybe > ldconfig allowed the configure script to find the Check that you had > compiled but not installed? > > > Is this possible, for the installation tests to fail but for the money >> tutorial to pass? > > > Sure this is possible if Check has a bug on a given platform. The example > shows only simple tests, but Check's own tests are comprehensive. > > - Branden > > > On Sat, Dec 26, 2015 at 6:37 AM, santorini lysias < > san...@gm...> wrote: > >> I am attempting to build from source on Lubuntu. My version of Ubuntu is >> 14.04. >> >> Of the 8 tests run during "make check," I am failing 3/8. The ones which >> fail are as follows--test_output.sh, test_log_output.sh, and >> test_tap_output.sh. >> >> I tried running the money tutorial, and it initially failed. I then >> hunted around online, and someone suggested to run ldconfig, and after >> that, the money tutorial passes. Is this possible, for the installation >> tests to fail but for the money tutorial to pass? >> >> The logs below are divided into 3 sections. >> 1. Log after "make check." 3 tests fail >> 2. Money tutorial passes. 1 test passes (after running ldconfig) >> 3. Check dependency versions. Just to show all my dependencies are up to >> date. >> >> >> *Log after "make check"* >> Making check in lib >> make[1]: Entering directory `/home/ahan/Linux/rep/check/lib' >> make[1]: Nothing to be done for `check'. >> make[1]: Leaving directory `/home/ahan/Linux/rep/check/lib' >> Making check in src >> make[1]: Entering directory `/home/ahan/Linux/rep/check/src' >> make[1]: Nothing to be done for `check'. >> make[1]: Leaving directory `/home/ahan/Linux/rep/check/src' >> Making check in doc >> make[1]: Entering directory `/home/ahan/Linux/rep/check/doc' >> make[1]: Nothing to be done for `check'. >> make[1]: Leaving directory `/home/ahan/Linux/rep/check/doc' >> Making check in . >> make[1]: Entering directory `/home/ahan/Linux/rep/check' >> make[1]: Leaving directory `/home/ahan/Linux/rep/check' >> Making check in checkmk >> make[1]: Entering directory `/home/ahan/Linux/rep/check/checkmk' >> make check-TESTS >> make[2]: Entering directory `/home/ahan/Linux/rep/check/checkmk' >> make[3]: Entering directory `/home/ahan/Linux/rep/check/checkmk' >> PASS: test/check_checkmk >> make[4]: Entering directory `/home/ahan/Linux/rep/check/checkmk' >> make[4]: Nothing to be done for `all'. >> make[4]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' >> >> ============================================================================ >> Testsuite summary for Check 0.10.0 >> >> ============================================================================ >> # TOTAL: 1 >> # PASS: 1 >> # SKIP: 0 >> # XFAIL: 0 >> # FAIL: 0 >> # XPASS: 0 >> # ERROR: 0 >> >> ============================================================================ >> make[3]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' >> make[2]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' >> make[1]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' >> Making check in tests >> make[1]: Entering directory `/home/ahan/Linux/rep/check/tests' >> make check-TESTS >> make[2]: Entering directory `/home/ahan/Linux/rep/check/tests' >> make[3]: Entering directory `/home/ahan/Linux/rep/check/tests' >> PASS: check_check_export >> PASS: check_check >> FAIL: test_output.sh >> PASS: test_check_nofork.sh >> PASS: test_check_nofork_teardown.sh >> PASS: test_xml_output.sh >> FAIL: test_log_output.sh >> FAIL: test_tap_output.sh >> make[4]: Entering directory `/home/ahan/Linux/rep/check/tests' >> make[4]: Nothing to be done for `all'. >> make[4]: Leaving directory `/home/ahan/Linux/rep/check/tests' >> >> ============================================================================ >> Testsuite summary for Check 0.10.0 >> >> ============================================================================ >> # TOTAL: 8 >> # PASS: 5 >> # SKIP: 0 >> # XFAIL: 0 >> # FAIL: 3 >> # XPASS: 0 >> # ERROR: 0 >> >> ============================================================================ >> See tests/test-suite.log >> Please report to check-devel at lists dot sourceforge dot net >> >> ============================================================================ >> make[3]: *** [test-suite.log] Error 1 >> make[3]: Leaving directory `/home/ahan/Linux/rep/check/tests' >> make[2]: *** [check-TESTS] Error 2 >> make[2]: Leaving directory `/home/ahan/Linux/rep/check/tests' >> make[1]: *** [check-am] Error 2 >> make[1]: Leaving directory `/home/ahan/Linux/rep/check/tests' >> make: *** [check-recursive] Error 1 >> >> >> *Money tutorial passes* >> ahan@ahan-Aspire-V5-571:~/Linux/dcj/2015.12.26.check-tutorial/example$ >> make check >> Making check in src >> make[1]: Entering directory >> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/src' >> make[1]: Nothing to be done for `check'. >> make[1]: Leaving directory >> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/src' >> Making check in . >> make[1]: Entering directory >> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example' >> make[1]: Leaving directory >> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example' >> Making check in tests >> make[1]: Entering directory >> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >> make check_money >> make[2]: Entering directory >> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >> gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/local/include -g -O2 >> -MT check_money-check_money.o -MD -MP -MF .deps/check_money-check_money.Tpo >> -c -o check_money-check_money.o `test -f 'check_money.c' || echo >> './'`check_money.c >> mv -f .deps/check_money-check_money.Tpo .deps/check_money-check_money.Po >> /bin/bash ../libtool --tag=CC --mode=link gcc -pthread >> -I/usr/local/include -g -O2 -o check_money check_money-check_money.o >> ../src/libmoney.la -L/usr/local/lib -lcheck >> libtool: link: gcc -pthread -I/usr/local/include -g -O2 -o >> .libs/check_money check_money-check_money.o ../src/.libs/libmoney.so >> -L/usr/local/lib /usr/local/lib/libcheck.so -pthread >> make[2]: Leaving directory >> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >> make check-TESTS >> make[2]: Entering directory >> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >> make[3]: Entering directory >> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >> PASS: check_money >> make[4]: Entering directory >> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >> make[4]: Nothing to be done for `all'. >> make[4]: Leaving directory >> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >> >> ============================================================================ >> Testsuite summary for Money 0.3 >> >> ============================================================================ >> # TOTAL: 1 >> # PASS: 1 >> # SKIP: 0 >> # XFAIL: 0 >> # FAIL: 0 >> # XPASS: 0 >> # ERROR: 0 >> >> ============================================================================ >> make[3]: Leaving directory >> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >> make[2]: Leaving directory >> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >> make[1]: Leaving directory >> `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' >> >> >> *Check dependency versions* >> ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ automake --version >> automake (GNU automake) 1.14.1 >> Copyright (C) 2013 Free Software Foundation, Inc. >> License GPLv2+: GNU GPL version 2 or later < >> http://gnu.org/licenses/gpl-2.0.html> >> This is free software: you are free to change and redistribute it. >> There is NO WARRANTY, to the extent permitted by law. >> >> Written by Tom Tromey <tr...@re...> >> and Alexandre Duret-Lutz <ad...@gn...>. >> ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ autoconf --version >> autoconf (GNU Autoconf) 2.69 >> Copyright (C) 2012 Free Software Foundation, Inc. >> License GPLv3+/Autoconf: GNU GPL version 3 or later >> <http://gnu.org/licenses/gpl.html>, < >> http://gnu.org/licenses/exceptions.html> >> This is free software: you are free to change and redistribute it. >> There is NO WARRANTY, to the extent permitted by law. >> >> Written by David J. MacKenzie and Akim Demaille. >> ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ libtool --version >> libtool (GNU libtool) 2.4.2 >> Written by Gordon Matzigkeit <go...@gn...>, 1996 >> >> Copyright (C) 2011 Free Software Foundation, Inc. >> This is free software; see the source for copying conditions. There is NO >> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR >> PURPOSE. >> ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ pkg-config --version >> 0.26 >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Check-devel mailing list >> Che...@li... >> https://lists.sourceforge.net/lists/listinfo/check-devel >> >> > |
|
From: Branden A. <b.m...@gm...> - 2015-12-26 14:28:46
|
> > Of the 8 tests run during "make check," I am failing 3/8. The ones which > fail are as follows--test_output.sh, test_log_output.sh, and > test_tap_output.sh. Sorry that you are running into this. Can you provide the output from each of the three offending tests so that we can see what is going wrong? Namely, cd into the tests directory and execute each of the scripts individually then send the result. $ cd tests $ ./test_output.sh | tee test_output.log $ ./test_log_output.sh | tee test_log_output.log $ ./test_tap_output.sh | tree test_tap_output.log Could you also log a bug against Check for this as well, and put the logs there? https://github.com/libcheck/check/issues I tried running the money tutorial, and it initially failed. I then hunted > around online, and someone suggested to run ldconfig, and after that, the > money tutorial passes. The README <https://github.com/libcheck/check/blob/master/doc/example/README> in the Check example mentioned that it expects Check to be already installed on the system to work. If Check was not yet installed on the system the example may not have been able to find Check in its configure script. Maybe ldconfig allowed the configure script to find the Check that you had compiled but not installed? Is this possible, for the installation tests to fail but for the money > tutorial to pass? Sure this is possible if Check has a bug on a given platform. The example shows only simple tests, but Check's own tests are comprehensive. - Branden On Sat, Dec 26, 2015 at 6:37 AM, santorini lysias <san...@gm... > wrote: > I am attempting to build from source on Lubuntu. My version of Ubuntu is > 14.04. > > Of the 8 tests run during "make check," I am failing 3/8. The ones which > fail are as follows--test_output.sh, test_log_output.sh, and > test_tap_output.sh. > > I tried running the money tutorial, and it initially failed. I then hunted > around online, and someone suggested to run ldconfig, and after that, the > money tutorial passes. Is this possible, for the installation tests to fail > but for the money tutorial to pass? > > The logs below are divided into 3 sections. > 1. Log after "make check." 3 tests fail > 2. Money tutorial passes. 1 test passes (after running ldconfig) > 3. Check dependency versions. Just to show all my dependencies are up to > date. > > > *Log after "make check"* > Making check in lib > make[1]: Entering directory `/home/ahan/Linux/rep/check/lib' > make[1]: Nothing to be done for `check'. > make[1]: Leaving directory `/home/ahan/Linux/rep/check/lib' > Making check in src > make[1]: Entering directory `/home/ahan/Linux/rep/check/src' > make[1]: Nothing to be done for `check'. > make[1]: Leaving directory `/home/ahan/Linux/rep/check/src' > Making check in doc > make[1]: Entering directory `/home/ahan/Linux/rep/check/doc' > make[1]: Nothing to be done for `check'. > make[1]: Leaving directory `/home/ahan/Linux/rep/check/doc' > Making check in . > make[1]: Entering directory `/home/ahan/Linux/rep/check' > make[1]: Leaving directory `/home/ahan/Linux/rep/check' > Making check in checkmk > make[1]: Entering directory `/home/ahan/Linux/rep/check/checkmk' > make check-TESTS > make[2]: Entering directory `/home/ahan/Linux/rep/check/checkmk' > make[3]: Entering directory `/home/ahan/Linux/rep/check/checkmk' > PASS: test/check_checkmk > make[4]: Entering directory `/home/ahan/Linux/rep/check/checkmk' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' > > ============================================================================ > Testsuite summary for Check 0.10.0 > > ============================================================================ > # TOTAL: 1 > # PASS: 1 > # SKIP: 0 > # XFAIL: 0 > # FAIL: 0 > # XPASS: 0 > # ERROR: 0 > > ============================================================================ > make[3]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' > make[2]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' > make[1]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' > Making check in tests > make[1]: Entering directory `/home/ahan/Linux/rep/check/tests' > make check-TESTS > make[2]: Entering directory `/home/ahan/Linux/rep/check/tests' > make[3]: Entering directory `/home/ahan/Linux/rep/check/tests' > PASS: check_check_export > PASS: check_check > FAIL: test_output.sh > PASS: test_check_nofork.sh > PASS: test_check_nofork_teardown.sh > PASS: test_xml_output.sh > FAIL: test_log_output.sh > FAIL: test_tap_output.sh > make[4]: Entering directory `/home/ahan/Linux/rep/check/tests' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory `/home/ahan/Linux/rep/check/tests' > > ============================================================================ > Testsuite summary for Check 0.10.0 > > ============================================================================ > # TOTAL: 8 > # PASS: 5 > # SKIP: 0 > # XFAIL: 0 > # FAIL: 3 > # XPASS: 0 > # ERROR: 0 > > ============================================================================ > See tests/test-suite.log > Please report to check-devel at lists dot sourceforge dot net > > ============================================================================ > make[3]: *** [test-suite.log] Error 1 > make[3]: Leaving directory `/home/ahan/Linux/rep/check/tests' > make[2]: *** [check-TESTS] Error 2 > make[2]: Leaving directory `/home/ahan/Linux/rep/check/tests' > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory `/home/ahan/Linux/rep/check/tests' > make: *** [check-recursive] Error 1 > > > *Money tutorial passes* > ahan@ahan-Aspire-V5-571:~/Linux/dcj/2015.12.26.check-tutorial/example$ > make check > Making check in src > make[1]: Entering directory > `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/src' > make[1]: Nothing to be done for `check'. > make[1]: Leaving directory > `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/src' > Making check in . > make[1]: Entering directory > `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example' > make[1]: Leaving directory > `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example' > Making check in tests > make[1]: Entering directory > `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' > make check_money > make[2]: Entering directory > `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' > gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/local/include -g -O2 -MT > check_money-check_money.o -MD -MP -MF .deps/check_money-check_money.Tpo -c > -o check_money-check_money.o `test -f 'check_money.c' || echo > './'`check_money.c > mv -f .deps/check_money-check_money.Tpo .deps/check_money-check_money.Po > /bin/bash ../libtool --tag=CC --mode=link gcc -pthread > -I/usr/local/include -g -O2 -o check_money check_money-check_money.o > ../src/libmoney.la -L/usr/local/lib -lcheck > libtool: link: gcc -pthread -I/usr/local/include -g -O2 -o > .libs/check_money check_money-check_money.o ../src/.libs/libmoney.so > -L/usr/local/lib /usr/local/lib/libcheck.so -pthread > make[2]: Leaving directory > `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' > make check-TESTS > make[2]: Entering directory > `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' > make[3]: Entering directory > `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' > PASS: check_money > make[4]: Entering directory > `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory > `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' > > ============================================================================ > Testsuite summary for Money 0.3 > > ============================================================================ > # TOTAL: 1 > # PASS: 1 > # SKIP: 0 > # XFAIL: 0 > # FAIL: 0 > # XPASS: 0 > # ERROR: 0 > > ============================================================================ > make[3]: Leaving directory > `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' > make[2]: Leaving directory > `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' > make[1]: Leaving directory > `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' > > > *Check dependency versions* > ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ automake --version > automake (GNU automake) 1.14.1 > Copyright (C) 2013 Free Software Foundation, Inc. > License GPLv2+: GNU GPL version 2 or later < > http://gnu.org/licenses/gpl-2.0.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > > Written by Tom Tromey <tr...@re...> > and Alexandre Duret-Lutz <ad...@gn...>. > ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ autoconf --version > autoconf (GNU Autoconf) 2.69 > Copyright (C) 2012 Free Software Foundation, Inc. > License GPLv3+/Autoconf: GNU GPL version 3 or later > <http://gnu.org/licenses/gpl.html>, < > http://gnu.org/licenses/exceptions.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > > Written by David J. MacKenzie and Akim Demaille. > ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ libtool --version > libtool (GNU libtool) 2.4.2 > Written by Gordon Matzigkeit <go...@gn...>, 1996 > > Copyright (C) 2011 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ pkg-config --version > 0.26 > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Check-devel mailing list > Che...@li... > https://lists.sourceforge.net/lists/listinfo/check-devel > > |
|
From: santorini l. <san...@gm...> - 2015-12-26 11:37:22
|
I am attempting to build from source on Lubuntu. My version of Ubuntu is 14.04. Of the 8 tests run during "make check," I am failing 3/8. The ones which fail are as follows--test_output.sh, test_log_output.sh, and test_tap_output.sh. I tried running the money tutorial, and it initially failed. I then hunted around online, and someone suggested to run ldconfig, and after that, the money tutorial passes. Is this possible, for the installation tests to fail but for the money tutorial to pass? The logs below are divided into 3 sections. 1. Log after "make check." 3 tests fail 2. Money tutorial passes. 1 test passes (after running ldconfig) 3. Check dependency versions. Just to show all my dependencies are up to date. *Log after "make check"* Making check in lib make[1]: Entering directory `/home/ahan/Linux/rep/check/lib' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/ahan/Linux/rep/check/lib' Making check in src make[1]: Entering directory `/home/ahan/Linux/rep/check/src' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/ahan/Linux/rep/check/src' Making check in doc make[1]: Entering directory `/home/ahan/Linux/rep/check/doc' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/ahan/Linux/rep/check/doc' Making check in . make[1]: Entering directory `/home/ahan/Linux/rep/check' make[1]: Leaving directory `/home/ahan/Linux/rep/check' Making check in checkmk make[1]: Entering directory `/home/ahan/Linux/rep/check/checkmk' make check-TESTS make[2]: Entering directory `/home/ahan/Linux/rep/check/checkmk' make[3]: Entering directory `/home/ahan/Linux/rep/check/checkmk' PASS: test/check_checkmk make[4]: Entering directory `/home/ahan/Linux/rep/check/checkmk' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' ============================================================================ Testsuite summary for Check 0.10.0 ============================================================================ # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' make[2]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' make[1]: Leaving directory `/home/ahan/Linux/rep/check/checkmk' Making check in tests make[1]: Entering directory `/home/ahan/Linux/rep/check/tests' make check-TESTS make[2]: Entering directory `/home/ahan/Linux/rep/check/tests' make[3]: Entering directory `/home/ahan/Linux/rep/check/tests' PASS: check_check_export PASS: check_check FAIL: test_output.sh PASS: test_check_nofork.sh PASS: test_check_nofork_teardown.sh PASS: test_xml_output.sh FAIL: test_log_output.sh FAIL: test_tap_output.sh make[4]: Entering directory `/home/ahan/Linux/rep/check/tests' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/ahan/Linux/rep/check/tests' ============================================================================ Testsuite summary for Check 0.10.0 ============================================================================ # TOTAL: 8 # PASS: 5 # SKIP: 0 # XFAIL: 0 # FAIL: 3 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log Please report to check-devel at lists dot sourceforge dot net ============================================================================ make[3]: *** [test-suite.log] Error 1 make[3]: Leaving directory `/home/ahan/Linux/rep/check/tests' make[2]: *** [check-TESTS] Error 2 make[2]: Leaving directory `/home/ahan/Linux/rep/check/tests' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/home/ahan/Linux/rep/check/tests' make: *** [check-recursive] Error 1 *Money tutorial passes* ahan@ahan-Aspire-V5-571:~/Linux/dcj/2015.12.26.check-tutorial/example$ make check Making check in src make[1]: Entering directory `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/src' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/src' Making check in . make[1]: Entering directory `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example' make[1]: Leaving directory `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example' Making check in tests make[1]: Entering directory `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' make check_money make[2]: Entering directory `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/local/include -g -O2 -MT check_money-check_money.o -MD -MP -MF .deps/check_money-check_money.Tpo -c -o check_money-check_money.o `test -f 'check_money.c' || echo './'`check_money.c mv -f .deps/check_money-check_money.Tpo .deps/check_money-check_money.Po /bin/bash ../libtool --tag=CC --mode=link gcc -pthread -I/usr/local/include -g -O2 -o check_money check_money-check_money.o ../src/libmoney.la -L/usr/local/lib -lcheck libtool: link: gcc -pthread -I/usr/local/include -g -O2 -o .libs/check_money check_money-check_money.o ../src/.libs/libmoney.so -L/usr/local/lib /usr/local/lib/libcheck.so -pthread make[2]: Leaving directory `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' make check-TESTS make[2]: Entering directory `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' make[3]: Entering directory `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' PASS: check_money make[4]: Entering directory `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' ============================================================================ Testsuite summary for Money 0.3 ============================================================================ # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' make[2]: Leaving directory `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' make[1]: Leaving directory `/home/ahan/Linux/dcj/2015.12.26.check-tutorial/example/tests' *Check dependency versions* ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ automake --version automake (GNU automake) 1.14.1 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later < http://gnu.org/licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Tom Tromey <tr...@re...> and Alexandre Duret-Lutz <ad...@gn...>. ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ autoconf --version autoconf (GNU Autoconf) 2.69 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html > This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David J. MacKenzie and Akim Demaille. ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ libtool --version libtool (GNU libtool) 2.4.2 Written by Gordon Matzigkeit <go...@gn...>, 1996 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ahan@ahan-Aspire-V5-571:~/Linux/rep/check$ pkg-config --version 0.26 |
|
From: Nicholas J H. <nj...@ae...> - 2015-12-26 00:26:04
|
Great work! Well done Branden :) On 2015-12-24 19:32, Branden Archer wrote: > Hello all! > > This announcement is to let everyone know that the Check project is > moving to GitHub. Effective immediately the Check webpage can be found > here: > > http://libcheck.github.io/check/ [1] > > and the project page, where the source code can be found, is here: > > https://github.com/libcheck/check [2] > > The Check webpage on SourceForge now points to the GitHub webpage. All > past releases will remain on SourceForge, however the current and > future releases will appear on GitHub here: > > https://github.com/libcheck/check/releases [3] > > The SourceForge mailing list will remain the main way to contact > developers on the project. For future bug reports, kindly log them on > GitHub here: > > https://github.com/libcheck/check/issues [4] > > Contributions are still welcome to the project! To submit a patch, > please following the pull request workflow on GitHub. This involves > forking the Check repository, adding changes, then submitting a pull > request. Further details can be found here: > > https://help.github.com/articles/using-pull-requests [5] > > If there are any questions, let us know! > > Thanks, > > - Branden > > Links: > ------ > [1] http://libcheck.github.io/check/ > [2] https://github.com/libcheck/check > [3] https://github.com/libcheck/check/releases > [4] https://github.com/libcheck/check/issues > [5] https://help.github.com/articles/using-pull-requests > > ------------------------------------------------------------------------------ > > _______________________________________________ > Check-announce mailing list > Che...@li... > https://lists.sourceforge.net/lists/listinfo/check-announce |
|
From: Branden A. <b.m...@gm...> - 2015-12-24 19:32:32
|
Hello all! This announcement is to let everyone know that the Check project is moving to GitHub. Effective immediately the Check webpage can be found here: http://libcheck.github.io/check/ and the project page, where the source code can be found, is here: https://github.com/libcheck/check The Check webpage on SourceForge now points to the GitHub webpage. All past releases will remain on SourceForge, however the current and future releases will appear on GitHub here: https://github.com/libcheck/check/releases The SourceForge mailing list will remain the main way to contact developers on the project. For future bug reports, kindly log them on GitHub here: https://github.com/libcheck/check/issues Contributions are still welcome to the project! To submit a patch, please following the pull request workflow on GitHub. This involves forking the Check repository, adding changes, then submitting a pull request. Further details can be found here: https://help.github.com/articles/using-pull-requests If there are any questions, let us know! Thanks, - Branden |
|
From: Branden A. <b.m...@gm...> - 2015-12-23 17:55:03
|
The example is helpful, thanks.
I find that on OSX that using either single or double slashes works just
fine. The unit tests for checkmk also work with the double slashes on OSX
and GNU/Linux.
Thanks for the patch. It has been committed and your name mentioned in the
AUTHORS file. The change will appear in the next release of Check.
- Branden
On Wed, Dec 23, 2015 at 10:22 AM, Morris, James <jm...@us...> wrote:
> Hi Brandon,
>
> Solaris 10 uses a single backslash to escape characters. However, checkmk
> declares regular expressions in variables and the strings were quoted using
> double quotes. So, awk turns the \n into a real newline before it gets run
> through the regex parser. This is an example script called testme1
> illustrating the Solaris awk:
>
> --------- CUT ME -----------------
> #!/usr/bin/nawk -f
>
> BEGIN {
> RS=" ";
> a="[\a\n]";
> z="[\n]";
> }
>
> $0 ~ a {print "matched a"}
> $0 ~ z {print "matched z"}
> --------- CUT ME -----------------
>
> > printf "\a\n" | ./testme1
> /usr/bin/nawk: newline in character class [
> ]...
> input record number 1
> source line number 9
>
> Example script called testme2 where the special characters are escaped:
>
> --------- CUT ME -----------------
> #!/usr/bin/nawk -f
>
> BEGIN {
> RS=" ";
> a="[\\a\\n]";
> z="[\\n]";
> }
>
> $0 ~ a {print "matched a"}
> $0 ~ z {print "matched z"}
> --------- CUT ME -----------------
>
> > printf "\a\n" | .testme2
> matched a
> matched z
>
> Does this help?
> Jim
>
> On Tue, Dec 22, 2015 at 10:55 PM, Branden Archer <b.m...@gm...>
> wrote:
>
>> James,
>>
>> Thanks for the patch, and sorry for not getting around to it before now.
>>
>> Can you describe why the patch is necessary? Namely, does the awk on
>> Solaris not work as it does on GNU/Linux with respect to escapes in strings
>> for regular expressions?
>>
>> I'm not as familiar with awk, so I attempted a little experiment to see
>> how awk on my system works when either escaping a special character with
>> one slash:
>>
>> $ printf "\a" | xxd
>> 0000000: 07 .
>> $ printf "\a" | awk '{if ($0 ~ "[\a]") print }' | xxd
>> 0000000: 070a ..
>> $
>>
>> or with two slashes:
>>
>> $ printf "\a" | xxd
>> 0000000: 07 .
>> $ printf "\a" | awk '{if ($0 ~ "[\\a]") print }' | xxd
>> $
>>
>> The behavior is different. Namely, at least for OSX escaping with two
>> slashes does not match the bell character, but escaping with one slash does.
>>
>> Does this behavior match that on Solaris, or is it the opposite? If so,
>> is there gawk <https://www.gnu.org/software/gawk/> available on your
>> system which could be used instead?
>>
>> - Branden
>>
>> On Fri, Dec 4, 2015 at 2:49 PM, Morris, James <jm...@us...> wrote:
>>
>>> I have attached a patch for checkmk so the awk script will run under
>>> Solaris. This is for version 0.10.0.
>>>
>>> Jim
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Go from Idea to Many App Stores Faster with Intel(R) XDK
>>> Give your users amazing mobile app experiences with Intel(R) XDK.
>>> Use one codebase in this all-in-one HTML5 development environment.
>>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
>>> OSs.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
>>> _______________________________________________
>>> Check-devel mailing list
>>> Che...@li...
>>> https://lists.sourceforge.net/lists/listinfo/check-devel
>>>
>>>
>>
>
|
|
From: Morris, J. <jm...@us...> - 2015-12-23 15:35:09
|
Hi Brandon,
Solaris 10 uses a single backslash to escape characters. However, checkmk
declares regular expressions in variables and the strings were quoted using
double quotes. So, awk turns the \n into a real newline before it gets run
through the regex parser. This is an example script called testme1
illustrating the Solaris awk:
--------- CUT ME -----------------
#!/usr/bin/nawk -f
BEGIN {
RS=" ";
a="[\a\n]";
z="[\n]";
}
$0 ~ a {print "matched a"}
$0 ~ z {print "matched z"}
--------- CUT ME -----------------
> printf "\a\n" | ./testme1
/usr/bin/nawk: newline in character class [
]...
input record number 1
source line number 9
Example script called testme2 where the special characters are escaped:
--------- CUT ME -----------------
#!/usr/bin/nawk -f
BEGIN {
RS=" ";
a="[\\a\\n]";
z="[\\n]";
}
$0 ~ a {print "matched a"}
$0 ~ z {print "matched z"}
--------- CUT ME -----------------
> printf "\a\n" | .testme2
matched a
matched z
Does this help?
Jim
On Tue, Dec 22, 2015 at 10:55 PM, Branden Archer <b.m...@gm...>
wrote:
> James,
>
> Thanks for the patch, and sorry for not getting around to it before now.
>
> Can you describe why the patch is necessary? Namely, does the awk on
> Solaris not work as it does on GNU/Linux with respect to escapes in strings
> for regular expressions?
>
> I'm not as familiar with awk, so I attempted a little experiment to see
> how awk on my system works when either escaping a special character with
> one slash:
>
> $ printf "\a" | xxd
> 0000000: 07 .
> $ printf "\a" | awk '{if ($0 ~ "[\a]") print }' | xxd
> 0000000: 070a ..
> $
>
> or with two slashes:
>
> $ printf "\a" | xxd
> 0000000: 07 .
> $ printf "\a" | awk '{if ($0 ~ "[\\a]") print }' | xxd
> $
>
> The behavior is different. Namely, at least for OSX escaping with two
> slashes does not match the bell character, but escaping with one slash does.
>
> Does this behavior match that on Solaris, or is it the opposite? If so, is
> there gawk <https://www.gnu.org/software/gawk/> available on your system
> which could be used instead?
>
> - Branden
>
> On Fri, Dec 4, 2015 at 2:49 PM, Morris, James <jm...@us...> wrote:
>
>> I have attached a patch for checkmk so the awk script will run under
>> Solaris. This is for version 0.10.0.
>>
>> Jim
>>
>>
>> ------------------------------------------------------------------------------
>> Go from Idea to Many App Stores Faster with Intel(R) XDK
>> Give your users amazing mobile app experiences with Intel(R) XDK.
>> Use one codebase in this all-in-one HTML5 development environment.
>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
>> OSs.
>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
>> _______________________________________________
>> Check-devel mailing list
>> Che...@li...
>> https://lists.sourceforge.net/lists/listinfo/check-devel
>>
>>
>
|
|
From: Branden A. <b.m...@gm...> - 2015-12-23 04:55:52
|
James,
Thanks for the patch, and sorry for not getting around to it before now.
Can you describe why the patch is necessary? Namely, does the awk on
Solaris not work as it does on GNU/Linux with respect to escapes in strings
for regular expressions?
I'm not as familiar with awk, so I attempted a little experiment to see how
awk on my system works when either escaping a special character with one
slash:
$ printf "\a" | xxd
0000000: 07 .
$ printf "\a" | awk '{if ($0 ~ "[\a]") print }' | xxd
0000000: 070a ..
$
or with two slashes:
$ printf "\a" | xxd
0000000: 07 .
$ printf "\a" | awk '{if ($0 ~ "[\\a]") print }' | xxd
$
The behavior is different. Namely, at least for OSX escaping with two
slashes does not match the bell character, but escaping with one slash does.
Does this behavior match that on Solaris, or is it the opposite? If so, is
there gawk <https://www.gnu.org/software/gawk/> available on your system
which could be used instead?
- Branden
On Fri, Dec 4, 2015 at 2:49 PM, Morris, James <jm...@us...> wrote:
> I have attached a patch for checkmk so the awk script will run under
> Solaris. This is for version 0.10.0.
>
> Jim
>
>
> ------------------------------------------------------------------------------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
> _______________________________________________
> Check-devel mailing list
> Che...@li...
> https://lists.sourceforge.net/lists/listinfo/check-devel
>
>
|
|
From: Morris, J. <jm...@us...> - 2015-12-04 19:49:33
|
I have attached a patch for checkmk so the awk script will run under Solaris. This is for version 0.10.0. Jim |
|
From: Branden A. <b.m...@gm...> - 2015-11-29 03:04:32
|
Zev, Thanks for the report. It is interesting, the following part of the log you sent: check_check_sub.c:36:F:Signal Tests:test_fail_unless:0: Early exit with return value 1 check_check_sub.c:540:P:Signal Tests:test_fpe:0: *Passed* check_check_sub.c:569:F:Signal Tests:test_mark_point:0: Shouldn't reach here shows that the test which throws a floating point exception did not get caught as expected. The subsequent failures may simply be cascading failures. On my OSX system the result is the following instead: check_check_sub.c:56:F:Signal Tests:test_fail_unless:0: Early exit with return value 1 check_check_sub.c:560:E:Signal Tests:test_fpe:0: *(after this point) Received signal 8 (Floating point exception: 8)* check_check_sub.c:586:E:Signal Tests:test_mark_point:0: (after this point) Received signal 8 (Floating point exception: 8) Note that these error listings above are expected, as the check_check test verifies that Check is able to detect when unit tests fail with various errors. Is this reproducible on your system? If you want to check this quickly, attempt the following to skip the timeout tests which take a while to run: $ ./configure --disable-timeout-tests $ make $ tests/check_check | tee log.txt If the following line does not appear in the produced log: Signal Tests:test_fpe:0: (after this point) Received signal 8 (Floating > point exception: 8) might you be able to help us track down what is going wrong? We might need to create a minimal scenario which demonstrates the problem to investigate further. If the issue is not reproducible, that will be even more interesting. FYI, if you need to attach logs in the future, kindly add them as a zip file. I think the Sourceforge email server flagged the email due to being too long. - Branden On Thu, Nov 26, 2015 at 2:54 AM, Zev Weiss <ze...@be...> wrote: > Hello, > > Upon running 'make check' with check-0.10.0 (after also hitting what > looks to be the same problem in check 0.9.14), I got a couple of test > failures (see full output below), and am thus reporting as per the > automated request. This was on Debian stretch, with GCC 5.2.1. > > Please let me know if there's any additional information that would be > useful. > > > Thanks, > Zev > > > |