mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 20:51:44 +00:00
Remove escaping from TESTFLAGS; it is no longer required
In fact, it doesn't work as the bare `\` backslashes are now preserved and therefore are not valid regex matches on any test, making it not run any tests at all. I assume at some point there was a process in the pipeline that needed escaping, but on master (for quite a while) this has not worked. Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
This commit is contained in:
@@ -170,7 +170,7 @@ You can use the `TESTFLAGS` environment variable to run a single test. The
|
||||
flag's value is passed as arguments to the `go test` command. For example, from
|
||||
your local host you can run the `TestBuild` test with this command:
|
||||
|
||||
$ TESTFLAGS='-test.run \^TestBuild\$' make test
|
||||
$ TESTFLAGS='-test.run ^TestBuild$' make test
|
||||
|
||||
To run the same test inside your Docker development container, you do this:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user