README: Update testing section.
This commit is contained in:
parent
0487d550d1
commit
79807811b5
2 changed files with 13 additions and 5 deletions
16
README.md
16
README.md
|
|
@ -107,16 +107,24 @@ warning/error and other options for controling compilation.
|
||||||
Testing
|
Testing
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
Test results should always be included with a pull request that modifies
|
||||||
|
functionality. There is a simple process for doing this, described here:
|
||||||
|
|
||||||
`Test` is an active test directory that contains test input and a
|
`Test` is an active test directory that contains test input and a
|
||||||
subdirectory `baseResults` that contains the expected results of the
|
subdirectory `baseResults` that contains the expected results of the
|
||||||
tests. Both the tests and `baseResults` are under source-code control.
|
tests. Both the tests and `baseResults` are under source-code control.
|
||||||
Executing the script `./runtests` will generate current results in
|
Executing the script `./runtests` will generate current results in
|
||||||
the `localResults` directory and `diff` them against the `baseResults`.
|
the `localResults` directory and `diff` them against the `baseResults`.
|
||||||
When you want to update the tracked test results, they need to be
|
|
||||||
copied from `localResults` to `baseResults`.
|
|
||||||
|
|
||||||
There are some tests borrowed from LunarGLASS. If LunarGLASS is
|
When you want to update the tracked test results, they need to be
|
||||||
missing, those tests just won't run.
|
copied from `localResults` to `baseResults`. This can be done by
|
||||||
|
the `bump` shell script.
|
||||||
|
|
||||||
|
The list of files tested comes from `testlist`, and lists input shaders
|
||||||
|
in this directory, which must all be public for this to work. However,
|
||||||
|
you can add your own private list of tests, not tracked here, by using
|
||||||
|
`localtestlist` to list non-tracked tests. This is automatically read
|
||||||
|
by `runtests` and included in the `diff` and `bump` process.
|
||||||
|
|
||||||
Basic Internal Operation
|
Basic Internal Operation
|
||||||
------------------------
|
------------------------
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,5 @@
|
||||||
// For the version, it uses the latest git tag followed by the number of commits.
|
// For the version, it uses the latest git tag followed by the number of commits.
|
||||||
// For the date, it uses the current date (when then script is run).
|
// For the date, it uses the current date (when then script is run).
|
||||||
|
|
||||||
#define GLSLANG_REVISION "3.0.741"
|
#define GLSLANG_REVISION "3.0.743"
|
||||||
#define GLSLANG_DATE "09-Sep-2015"
|
#define GLSLANG_DATE "09-Sep-2015"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue