-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move tests in directory t-github-ci [ci skip]
- Loading branch information
Showing
3 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,24 @@ | ||
#### Automatic tests with prove | ||
|
||
Run automatic tests in directory *t/* using command *prove* from Perl module | ||
*Test::Harness*. Tests require additionally Perl module *Test::Nginx::Socket*. | ||
They can be run by a regular user. | ||
Run automatic tests with command *prove* from Perl module *Test::Harness*. | ||
Tests require Perl module *Test::Nginx::Socket*. | ||
|
||
##### Build and install Haskell library | ||
|
||
```ShellSession | ||
$ cd t | ||
$ make | ||
$ sudo make install | ||
``` | ||
|
||
##### Run tests | ||
|
||
Tests can be run by a regular user. | ||
|
||
```ShellSession | ||
$ prove -r t | ||
$ prove t/basic.t | ||
``` | ||
|
||
Add option *-v* for verbose output. Before run, you may need to adjust | ||
environment variable *PATH* to point to a specific Nginx build for testing. | ||
environment variable *PATH* to point to a specific Nginx build. | ||
|
File renamed without changes.
File renamed without changes.