mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 07:23:39 +02:00
Changed autoTester threshold to 0.9995
Added a readme explaining how to deploy autoTester.
This commit is contained in:
parent
29b2eaacde
commit
3de34834e1
2 changed files with 8 additions and 1 deletions
7
tools/auto-tester/ReadMe.md
Normal file
7
tools/auto-tester/ReadMe.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
After building auto-tester, it needs to be deployed to Amazon SW
|
||||||
|
|
||||||
|
* In folder hifi/build/tools/auto-tester
|
||||||
|
* Right click on the Release folder
|
||||||
|
* Select 7-Zip -> Add to archive
|
||||||
|
* Select Option ```Create SFX archive``` to create Release.exe
|
||||||
|
* Use Cyberduck (or any other AWS S3 client) to copy Release.exe to hifi-content/nissim/autoTester/
|
|
@ -24,7 +24,7 @@ Test::Test() {
|
||||||
bool Test::compareImageLists(QStringList expectedImages, QStringList resultImages) {
|
bool Test::compareImageLists(QStringList expectedImages, QStringList resultImages) {
|
||||||
// Loop over both lists and compare each pair of images
|
// Loop over both lists and compare each pair of images
|
||||||
// Quit loop if user has aborted due to a failed test.
|
// Quit loop if user has aborted due to a failed test.
|
||||||
const double THRESHOLD{ 0.9998 };
|
const double THRESHOLD{ 0.9995 };
|
||||||
bool success{ true };
|
bool success{ true };
|
||||||
bool keepOn{ true };
|
bool keepOn{ true };
|
||||||
for (int i = 0; keepOn && i < expectedImages.length(); ++i) {
|
for (int i = 0; keepOn && i < expectedImages.length(); ++i) {
|
||||||
|
|
Loading…
Reference in a new issue