Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
9f60fa9b
Commit
9f60fa9b
authored
Jan 09, 2017
by
Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use correct exit codes
Fixes command-line issues e.g. running unit tests
parent
ae6abf90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
qa-base.php
qa-include/qa-base.php
+3
-1
phpunit-qa-config.php
qa-tests/phpunit-qa-config.php
+1
-1
No files found.
qa-include/qa-base.php
View file @
9f60fa9b
...
...
@@ -705,7 +705,9 @@
*/
{
qa_report_process_stage
(
'shutdown'
,
$reason
);
exit
;
$code
=
$reason
===
'error'
?
1
:
0
;
exit
(
$code
);
}
...
...
qa-tests/phpunit-qa-config.php
View file @
9f60fa9b
<?php
// Stand-in config file for PHPUnit
define
(
'QA_MYSQL_HOSTNAME'
,
''
);
define
(
'QA_MYSQL_HOSTNAME'
,
'
localhost
'
);
define
(
'QA_MYSQL_USERNAME'
,
''
);
define
(
'QA_MYSQL_PASSWORD'
,
''
);
define
(
'QA_MYSQL_DATABASE'
,
''
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment