From 3de34834e1e2abcb351fe7f2f55f62d5c60f4f66 Mon Sep 17 00:00:00 2001 From: Nissim Hadar Date: Tue, 5 Dec 2017 11:19:00 -0600 Subject: [PATCH] Changed autoTester threshold to 0.9995 Added a readme explaining how to deploy autoTester. --- tools/auto-tester/ReadMe.md | 7 +++++++ tools/auto-tester/src/Test.cpp | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 tools/auto-tester/ReadMe.md diff --git a/tools/auto-tester/ReadMe.md b/tools/auto-tester/ReadMe.md new file mode 100644 index 0000000000..57ec7ea623 --- /dev/null +++ b/tools/auto-tester/ReadMe.md @@ -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/ \ No newline at end of file diff --git a/tools/auto-tester/src/Test.cpp b/tools/auto-tester/src/Test.cpp index 0506045fc3..835655eef1 100644 --- a/tools/auto-tester/src/Test.cpp +++ b/tools/auto-tester/src/Test.cpp @@ -24,7 +24,7 @@ Test::Test() { bool Test::compareImageLists(QStringList expectedImages, QStringList resultImages) { // Loop over both lists and compare each pair of images // 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 keepOn{ true }; for (int i = 0; keepOn && i < expectedImages.length(); ++i) {