For custom tests, initialize double counterpart of Float16 variable
Bug: http://b/27512382
For functions with 'custom' test label, initialize an 'outDouble'
variable which has the 'short' output value 'out' converted to double.
Also, print this converted value in case of error.
Change-Id: Iff4123f2103bb9ccad2028bd170f95ce3ebb8515
diff --git a/api/Specification.cpp b/api/Specification.cpp
index 3b794ad..b0ebe91 100644
--- a/api/Specification.cpp
+++ b/api/Specification.cpp
@@ -164,6 +164,7 @@
} else if (!isReturn) {
scanner->error(lineNumber) << "Should have a name.\n";
}
+ doubleVariableName = variableName + "Double";
} else {
variableName = "in";
if (specName.empty()) {