Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Hunger
CMake
Commits
73144a8f
Commit
73144a8f
authored
14 years ago
by
Brad King
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix_ctest_failure_code'
parents
0d400c37
8f8c1edc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Source/CTest/cmCTestRunTest.cxx
+1
-1
1 addition, 1 deletion
Source/CTest/cmCTestRunTest.cxx
Source/CTest/cmProcess.cxx
+6
-0
6 additions, 0 deletions
Source/CTest/cmProcess.cxx
Source/CTest/cmProcess.h
+1
-1
1 addition, 1 deletion
Source/CTest/cmProcess.h
with
8 additions
and
2 deletions
Source/CTest/cmCTestRunTest.cxx
+
1
−
1
View file @
73144a8f
...
...
@@ -221,7 +221,7 @@ bool cmCTestRunTest::EndTest(size_t completed, size_t total, bool started)
{
outputTestErrorsToConsole
=
this
->
CTest
->
OutputTestOutputOnTestFailure
;
cmCTestLog
(
this
->
CTest
,
HANDLER_OUTPUT
,
"***Exception: "
);
switch
(
retVal
)
switch
(
this
->
TestProcess
->
GetExitException
()
)
{
case
cmsysProcess_Exception_Fault
:
cmCTestLog
(
this
->
CTest
,
HANDLER_OUTPUT
,
"SegFault"
);
...
...
This diff is collapsed.
Click to expand it.
Source/CTest/cmProcess.cxx
+
6
−
0
View file @
73144a8f
...
...
@@ -264,3 +264,9 @@ int cmProcess::ReportStatus()
return
result
;
}
int
cmProcess
::
GetExitException
()
{
return
cmsysProcess_GetExitException
(
this
->
Process
);
}
This diff is collapsed.
Click to expand it.
Source/CTest/cmProcess.h
+
1
−
1
View file @
73144a8f
...
...
@@ -43,7 +43,7 @@ public:
void
SetId
(
int
id
)
{
this
->
Id
=
id
;}
int
GetExitValue
()
{
return
this
->
ExitValue
;}
double
GetTotalTime
()
{
return
this
->
TotalTime
;}
int
GetExitException
();
/**
* Read one line of output but block for no more than timeout.
* Returns:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment