Skip to content

print list of all failed test at the end #1245

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add file to projects settings
  • Loading branch information
angelskieglazki committed Sep 6, 2020
commit cc84c8e9c88382616c04505c1397b77e3714ccc2
4 changes: 4 additions & 0 deletions CppUTest.vcproj
Original file line number Diff line number Diff line change
Expand Up @@ -1047,6 +1047,10 @@
RelativePath=".\include\CppUTest\TestFailure.h"
>
</File>
<File
RelativePath=".\include\CppUTest\TestFailureList.h"
>
</File>
<File
RelativePath=".\include\CppUTest\TestFilter.h"
>
Expand Down
1 change: 1 addition & 0 deletions CppUTest.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@
<ClInclude Include="include\CppUTest\SimpleStringInternalCache.h" />
<ClInclude Include="include\CppUTest\StandardCLibrary.h" />
<ClInclude Include="include\CppUTest\TestFailure.h" />
<ClInclude Include="include\CppUTest\TestFailureList.h" />
<ClInclude Include="include\CppUTest\TestFilter.h" />
<ClInclude Include="include\CppUTest\TestHarness.h" />
<ClInclude Include="include\CppUTest\TestHarness_c.h" />
Expand Down
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ include_cpputest_HEADERS = \
include/CppUTest/StandardCLibrary.h \
include/CppUTest/TeamCityTestOutput.h \
include/CppUTest/TestFailure.h \
include/CppUTest/TestFailureList.h \
include/CppUTest/TestFilter.h \
include/CppUTest/TestHarness.h \
include/CppUTest/TestHarness_c.h \
Expand Down
1 change: 1 addition & 0 deletions platforms/CCStudio/CppUTestRunAllTests1.pjt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Source="..\..\tests\SetPluginTest.cpp"
Source="..\..\tests\TeamCityOutputTest.cpp"
Source="..\..\tests\TestFailureNaNTest.cpp"
Source="..\..\tests\TestFailureTest.cpp"
Source="..\..\tests\TestFailureListTest.cpp"
Source="..\..\tests\TestUTestStringMacro.cpp"
Source="C:\CCStudio_v3.3\C2000\cgtools\lib\src\farmem_cpp.cpp"
Source="tests\CppUTest\AllTestsForTarget.cpp"
Expand Down
1 change: 1 addition & 0 deletions platforms/Dos/sources.mk
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ CPPU2_OBJECTS := \
$(CPPUTEST_HOME)/tests/CppUTest/TeamCityOutputTest.o \
$(CPPUTEST_HOME)/tests/CppUTest/TestFailureNaNTest.o \
$(CPPUTEST_HOME)/tests/CppUTest/TestFailureTest.o \
$(CPPUTEST_HOME)/tests/CppUTest/TestFailureListTest.o \
$(CPPUTEST_HOME)/tests/CppUTest/TestResultTest.o \

CPPU3_OBJECTS := \
Expand Down
20 changes: 20 additions & 0 deletions platforms/Eclipse-Cygwin/.project
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,11 @@
<type>1</type>
<locationURI>PARENT-2-ECLIPSE_HOME/00_Dev/05_CppUTest/cpputest/tests/TestFailureTest.cpp</locationURI>
</link>
<link>
<name>tests/TestFailureListTest.cpp</name>
<type>1</type>
<locationURI>PARENT-2-ECLIPSE_HOME/00_Dev/05_CppUTest/cpputest/tests/TestFailureListTest.cpp</locationURI>
</link>
<link>
<name>tests/TestFilterTest.cpp</name>
<type>1</type>
Expand Down Expand Up @@ -1034,6 +1039,11 @@
<type>1</type>
<locationURI>PARENT-2-ECLIPSE_HOME/00_Dev/05_CppUTest/cpputest/include/CppUTest/TestFailure.h</locationURI>
</link>
<link>
<name>include/CppUTest/TestFailureList.h</name>
<type>1</type>
<locationURI>PARENT-2-ECLIPSE_HOME/00_Dev/05_CppUTest/cpputest/include/CppUTest/TestFailureList.h</locationURI>
</link>
<link>
<name>include/CppUTest/TestFilter.h</name>
<type>1</type>
Expand Down Expand Up @@ -2159,11 +2169,21 @@
<type>1</type>
<locationURI>PARENT-2-ECLIPSE_HOME/00_Dev/05_CppUTest/cpputest/tests/Debug/TestFailureTest.obj</locationURI>
</link>
<link>
<name>tests/Debug/TestFailureListTest.obj</name>
<type>1</type>
<locationURI>PARENT-2-ECLIPSE_HOME/00_Dev/05_CppUTest/cpputest/tests/Debug/TestFailureListTest.obj</locationURI>
</link>
<link>
<name>tests/Debug/TestFailureTest.sbr</name>
<type>1</type>
<locationURI>PARENT-2-ECLIPSE_HOME/00_Dev/05_CppUTest/cpputest/tests/Debug/TestFailureTest.sbr</locationURI>
</link>
<link>
<name>tests/Debug/TestFailureListTest.sbr</name>
<type>1</type>
<locationURI>PARENT-2-ECLIPSE_HOME/00_Dev/05_CppUTest/cpputest/tests/Debug/TestFailureListTest.sbr</locationURI>
</link>
<link>
<name>tests/Debug/TestFilterTest.obj</name>
<type>1</type>
Expand Down
3 changes: 3 additions & 0 deletions platforms/iar/CppUTestTest.ewp
Original file line number Diff line number Diff line change
Expand Up @@ -1987,6 +1987,9 @@
<file>
<name>$PROJ_DIR$\..\..\tests\CppUTest\TestFailureTest.cpp</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\tests\CppUTest\TestFailureListTest.cpp</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\tests\CppUTest\TestFilterTest.cpp</name>
</file>
Expand Down
1 change: 1 addition & 0 deletions src/CppUTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ set(CppUTest_headers
${CppUTestRootDirectory}/include/CppUTest/TestRegistry.h
${CppUTestRootDirectory}/include/CppUTest/MemoryLeakDetector.h
${CppUTestRootDirectory}/include/CppUTest/TestFailure.h
${CppUTestRootDirectory}/include/CppUTest/TestFailureList.h
${CppUTestRootDirectory}/include/CppUTest/TestResult.h
${CppUTestRootDirectory}/include/CppUTest/MemoryLeakDetectorMallocMacros.h
${CppUTestRootDirectory}/include/CppUTest/TestFilter.h
Expand Down
23 changes: 23 additions & 0 deletions tests/AllTests.vcproj
Original file line number Diff line number Diff line change
Expand Up @@ -1161,6 +1161,29 @@
/>
</FileConfiguration>
</File>
<File
RelativePath="CppUTest\TestFailureListTest.cpp"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
ForcedIncludeFiles=""
/>
</FileConfiguration>
</File>
<File
RelativePath="CppUTest\TestFilterTest.cpp"
>
Expand Down
1 change: 1 addition & 0 deletions tests/AllTests.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@
<ClCompile Include="CppUTest\TeamCityOutputTest.cpp" />
<ClCompile Include="CppUTest\TestFailureNaNTest.cpp" />
<ClCompile Include="CppUTest\TestFailureTest.cpp" />
<ClCompile Include="CppUTest\TestFailureListTest.cpp" />
<ClCompile Include="CppUTest\TestFilterTest.cpp" />
<ClCompile Include="CppUTest\TestHarness_cTest.cpp" />
<ClCompile Include="CppUTest\TestHarness_cTestCFile.c" />
Expand Down
1 change: 1 addition & 0 deletions tests/CppUTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ set(CppUTestTests_src
CompatabilityTests.cpp
CommandLineArgumentsTest.cpp
TestFailureTest.cpp
TestFailureListTest.cpp
TestFailureNaNTest.cpp
CommandLineTestRunnerTest.cpp
TestFilterTest.cpp
Expand Down