<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/cunit/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/cunit/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 16 Feb 2021 08:31:31 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/cunit/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>[Build Error]: CUNIT build error for arm-none-eabi-gcc toolchain</title><link>https://sourceforge.net/p/cunit/bugs/77/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using Cunit testing framework for NXP project using arm-none-eabi-gcc compiler, i was able to use Cuint library for C/C++ projects in NXP S32DS IDE, but i am getting lots of error for NXP's S32DS project (arm-none-eabi-gcc) i have added headers, library and library path to project build settings.&lt;/p&gt;
&lt;p&gt;and the error are as follows &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="err"&gt;make -j4 all &lt;/span&gt;
&lt;span class="err"&gt;Building target: Test_Arm.elf&lt;/span&gt;
&lt;span class="c"&gt;Invoking: Standard S32DS C Linker&lt;/span&gt;
&lt;span class="err"&gt;arm-none-eabi-gcc -o "Test_Arm.elf" "@Test_Arm.args"  &lt;/span&gt;
&lt;span class="err"&gt;./src/testC.o: In function `main':&lt;/span&gt;
&lt;span class="c"&gt;C:\CUNIT_DIR\Test_Arm\Test_Arm\Debug_FLASH/../src/testC.c:18: undefined reference to `CU_initialize_registry'&lt;/span&gt;
&lt;span class="c"&gt;C:\CUNIT_DIR\Test_Arm\Test_Arm\Debug_FLASH/../src/testC.c:26: undefined reference to `CU_basic_set_mode'&lt;/span&gt;
&lt;span class="c"&gt;C:\CUNIT_DIR\Test_Arm\Test_Arm\Debug_FLASH/../src/testC.c:28: undefined reference to `CU_set_error_action'&lt;/span&gt;
&lt;span class="c"&gt;C:\CUNIT_DIR\Test_Arm\Test_Arm\Debug_FLASH/../src/testC.c:31: undefined reference to `CU_basic_run_tests'&lt;/span&gt;
&lt;span class="c"&gt;C:\CUNIT_DIR\Test_Arm\Test_Arm\Debug_FLASH/../src/testC.c:33: undefined reference to `CU_cleanup_registry'&lt;/span&gt;
&lt;span class="err"&gt;./src/testsource.o: In function `test_Subtract':&lt;/span&gt;
&lt;span class="c"&gt;C:\CUNIT_DIR\Test_Arm\Test_Arm\Debug_FLASH/../src/testsource.c:26: undefined reference to `CU_assertImplementation'&lt;/span&gt;
&lt;span class="err"&gt;./src/testsource.o: In function `test_Add_02':&lt;/span&gt;
&lt;span class="c"&gt;C:\CUNIT_DIR\Test_Arm\Test_Arm\Debug_FLASH/../src/testsource.c:19: undefined reference to `CU_assertImplementation'&lt;/span&gt;
&lt;span class="err"&gt;./src/testsource.o: In function `test_Add_01':&lt;/span&gt;
&lt;span class="c"&gt;C:\CUNIT_DIR\Test_Arm\Test_Arm\Debug_FLASH/../src/testsource.c:14: undefined reference to `CU_assertImplementation'&lt;/span&gt;
&lt;span class="err"&gt;./src/testsource.o: In function `AddTests':&lt;/span&gt;
&lt;span class="c"&gt;C:\CUNIT_DIR\Test_Arm\Test_Arm\Debug_FLASH/../src/testsource.c:47: undefined reference to `CU_get_registry'&lt;/span&gt;
&lt;span class="c"&gt;C:\CUNIT_DIR\Test_Arm\Test_Arm\Debug_FLASH/../src/testsource.c:49: undefined reference to `CU_is_test_running'&lt;/span&gt;
&lt;span class="c"&gt;C:\CUNIT_DIR\Test_Arm\Test_Arm\Debug_FLASH/../src/testsource.c:51: undefined reference to `CU_register_suites'&lt;/span&gt;
&lt;span class="c"&gt;C:\CUNIT_DIR\Test_Arm\Test_Arm\Debug_FLASH/../src/testsource.c:53: undefined reference to `CU_get_error_msg'&lt;/span&gt;
&lt;span class="err"&gt;collect2.exe: error: ld returned 1 exit status&lt;/span&gt;
&lt;span class="c"&gt;make: *** [makefile:42: Test_Arm.elf] Error 1&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Kindly let me what is wrong here with arm compiler&lt;/p&gt;
&lt;p&gt;and one more important doubt i have is &lt;strong&gt;"is this cunit library will support arm-noneeabi-gcc compiler?"&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 16 Feb 2021 08:31:31 -0000</pubDate><guid>https://sourceforge.net82d54edd770d4cca6ca1f0c278dd5324572f4e06</guid></item><item><title>#75 CU_assertImplementation's return value is NOT used</title><link>https://sourceforge.net/p/cunit/bugs/75/?limit=25#9f8c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I've never seen this warning before. &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;CUnit now lives at &lt;a href="https://gitlab.com/cunity/cunit" rel="nofollow"&gt;https://gitlab.com/cunity/cunit&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ian Norton</dc:creator><pubDate>Wed, 12 Feb 2020 07:42:25 -0000</pubDate><guid>https://sourceforge.net355f761723afc8f4062b3c1bf1ff7b3eb701550a</guid></item><item><title>#76 Automated.h contains invalid prototype in gcc strict prototype mode</title><link>https://sourceforge.net/p/cunit/bugs/76/?limit=25#69e4</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi there, CUnit is now maintained over on gitlab at &lt;a href="https://gitlab.com/cunity/cunit" rel="nofollow"&gt;https://gitlab.com/cunity/cunit&lt;/a&gt; and there has been significant work in this area&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ian Norton</dc:creator><pubDate>Wed, 12 Feb 2020 07:37:13 -0000</pubDate><guid>https://sourceforge.netc1f013bec2ee83be99ec15e38372d199a0b2c16f</guid></item><item><title>#76 Automated.h contains invalid prototype in gcc strict prototype mode</title><link>https://sourceforge.net/p/cunit/bugs/76/?limit=25#d8bf</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Our reference: AST-3754&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">M6KVM</dc:creator><pubDate>Thu, 09 Jan 2020 14:07:02 -0000</pubDate><guid>https://sourceforge.netf679f07882ecacf9e65fdc45345c182c6bc23b3e</guid></item><item><title>Automated.h contains invalid prototype in gcc strict prototype mode</title><link>https://sourceforge.net/p/cunit/bugs/76/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The prototype for the function CU_automated_package_name_get() in CUnit/Headers/Automated.h is incomplete because it is declared as () rather than (void).&lt;/p&gt;
&lt;p&gt;This causes a problem with the gcc compiler flag -Wstrict-prototypes is used.&lt;br/&gt;
Patch supplied.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">M6KVM</dc:creator><pubDate>Thu, 09 Jan 2020 14:05:10 -0000</pubDate><guid>https://sourceforge.netfd2dfa3821c8410476c79f4cdc7c07efb5ef4f37</guid></item><item><title>CU_assertImplementation's return value is NOT used</title><link>https://sourceforge.net/p/cunit/bugs/75/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;function 'CU_assertImplementation ' has return value，but it is used by CU_ASSERT_EQUAL without return value judge&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="o"&gt;#&lt;/span&gt;&lt;span class="n"&gt;define&lt;/span&gt; &lt;span class="n"&gt;CU_ASSERT_EQUAL&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;actual&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;expected&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;
  &lt;span class="err"&gt;{&lt;/span&gt; &lt;span class="n"&gt;CU_assertImplementation&lt;/span&gt;&lt;span class="p"&gt;(((&lt;/span&gt;&lt;span class="n"&gt;actual&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;expected&lt;/span&gt;&lt;span class="p"&gt;)),&lt;/span&gt; &lt;span class="n"&gt;__LINE__&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="ss"&gt;"CU_ASSERT_EQUAL("&lt;/span&gt; &lt;span class="o"&gt;#&lt;/span&gt;&lt;span class="n"&gt;actual&lt;/span&gt; &lt;span class="ss"&gt;","&lt;/span&gt; &lt;span class="o"&gt;#&lt;/span&gt;&lt;span class="n"&gt;expected&lt;/span&gt; &lt;span class="ss"&gt;")"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;__FILE__&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="ss"&gt;""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;CU_FALSE&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; &lt;span class="err"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="nv"&gt;void&lt;/span&gt; &lt;span class="nv"&gt;testcase_001&lt;/span&gt;&lt;span class="ss"&gt;()&lt;/span&gt; 
{
    &lt;span class="nv"&gt;CU_ASSERT_EQUAL&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;, &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;&lt;span class="c1"&gt;;//** there is pclint warning: ignoring return value of function **&lt;/span&gt;
}
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">wangyushui</dc:creator><pubDate>Thu, 10 Oct 2019 09:23:45 -0000</pubDate><guid>https://sourceforge.neta281b6e10ee4388edc0e7095087e99e5bd99f73c</guid></item><item><title>#70 Inactive test shows as active on test listing</title><link>https://sourceforge.net/p/cunit/bugs/70/?limit=25#a478</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This is a duplicate of #74&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ian Norton</dc:creator><pubDate>Fri, 17 May 2019 17:24:30 -0000</pubDate><guid>https://sourceforge.netbc17722b23eb99adb0ac5cb6f01991f32c5eb9d9</guid></item><item><title>#74 wrong fActive flag used in Automated.c L708</title><link>https://sourceforge.net/p/cunit/bugs/74/?limit=25#9578</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Many thanks, I have logged this over in Gitlab as &lt;a href="https://gitlab.com/cunity/cunit/issues/25" rel="nofollow"&gt;https://gitlab.com/cunity/cunit/issues/25&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ian Norton</dc:creator><pubDate>Fri, 17 May 2019 17:13:43 -0000</pubDate><guid>https://sourceforge.net69e2f11fbfa204830d0c3d0e627977bd616bbc52</guid></item><item><title>wrong fActive flag used in Automated.c L708</title><link>https://sourceforge.net/p/cunit/bugs/74/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Trying to inactivate some tests I realized that they still were displayed as "active" in xml output listing, despite correctly removed from run batch. &lt;br/&gt;
IMHO the issue is that &lt;strong&gt;pSuite&lt;/strong&gt;-&amp;gt;fActive is used instead of &lt;strong&gt; pTest&lt;/strong&gt;-&amp;gt;fActive on Automated.c L708.&lt;br/&gt;
Not sure if this was already filed somewhere.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 19 Nov 2018 13:50:03 -0000</pubDate><guid>https://sourceforge.net713eae867863516a4710543c50fa2d790b77be57</guid></item><item><title>#69 Function pointers cannot be asserted by PTR macros in pedantic, ANSI C</title><link>https://sourceforge.net/p/cunit/bugs/69/?limit=25#0132</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Migrated to &lt;a href="https://gitlab.com/cunity/cunit/issues/4" rel="nofollow"&gt;https://gitlab.com/cunity/cunit/issues/4&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ian Norton</dc:creator><pubDate>Thu, 09 Aug 2018 20:51:29 -0000</pubDate><guid>https://sourceforge.net70c440bdccc769147e8c32b7a98c7b5040047748</guid></item></channel></rss>