aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional-tests/PfwTestCase/Types/tFP8_Q0_7.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional-tests/PfwTestCase/Types/tFP8_Q0_7.py')
-rwxr-xr-xtest/functional-tests/PfwTestCase/Types/tFP8_Q0_7.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/functional-tests/PfwTestCase/Types/tFP8_Q0_7.py b/test/functional-tests/PfwTestCase/Types/tFP8_Q0_7.py
index 8ffeb00..876cb7f 100755
--- a/test/functional-tests/PfwTestCase/Types/tFP8_Q0_7.py
+++ b/test/functional-tests/PfwTestCase/Types/tFP8_Q0_7.py
@@ -102,7 +102,7 @@ class TestCases(PfwTestCase):
assert round(float(out), 2) == float(value), log.F("BLACKBOARD - Incorrect value for %s, expected: %s, found: %s"
% (self.param_name, value, out))
#Check parameter value on filesystem
- assert commands.getoutput('cat $PFW_FILESYSTEM/FP8_Q0.7') == hex_value, log.F("FILESYSTEM - parameter update error")
+ assert commands.getoutput('cat $PFW_RESULT/FP8_Q0.7') == hex_value, log.F("FILESYSTEM - parameter update error")
log.I("test OK")
def test_TypeMin(self):
@@ -140,7 +140,7 @@ class TestCases(PfwTestCase):
assert round(float(out), 6) == float(value), log.F("BLACKBOARD - Incorrect value for %s, expected: %s, found: %s"
% (self.param_name, value, out))
#Check parameter value on filesystem
- assert commands.getoutput('cat $PFW_FILESYSTEM/FP8_Q0.7') == hex_value, log.F("FILESYSTEM - parameter update error")
+ assert commands.getoutput('cat $PFW_RESULT/FP8_Q0.7') == hex_value, log.F("FILESYSTEM - parameter update error")
log.I("test OK")
def test_TypeMin_Overflow(self):
@@ -164,7 +164,7 @@ class TestCases(PfwTestCase):
"""
log.D(self.test_TypeMin_Overflow.__doc__)
value = "-1.000001"
- param_check = commands.getoutput('cat $PFW_FILESYSTEM/FP8_Q0.7')
+ param_check = commands.getoutput('cat $PFW_RESULT/FP8_Q0.7')
log.I("Setting %s to value %s" % (self.type_name, value))
#Set parameter value
out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
@@ -173,7 +173,7 @@ class TestCases(PfwTestCase):
assert out != "Done", log.F("Error not detected when setting parameter %s out of bounds"
% (self.param_name))
#Check parameter value on filesystem
- assert commands.getoutput('cat $PFW_FILESYSTEM/FP8_Q0.7') == param_check, log.F("FILESYSTEM - Forbiden parameter change")
+ assert commands.getoutput('cat $PFW_RESULT/FP8_Q0.7') == param_check, log.F("FILESYSTEM - Forbiden parameter change")
log.I("test OK")
@unittest.expectedFailure
@@ -211,7 +211,7 @@ class TestCases(PfwTestCase):
% (self.param_name, err))
assert round(float(out), 6) == float(value), "ERROR : BLACKBOARD - Incorrect value for %s, expected: %s, found: %s" % (self.param_name, value, out)
#Check parameter value on filesystem
- assert commands.getoutput('cat $PFW_FILESYSTEM/FP8_Q0.7') == hex_value, "ERROR : FILESYSTEM - parameter update error"
+ assert commands.getoutput('cat $PFW_RESULT/FP8_Q0.7') == hex_value, "ERROR : FILESYSTEM - parameter update error"
log.I("test OK")
def test_TypeMax_Overflow(self):
@@ -235,7 +235,7 @@ class TestCases(PfwTestCase):
"""
log.D(self.test_TypeMax_Overflow.__doc__)
value = "0.992189"
- param_check = commands.getoutput('cat $PFW_FILESYSTEM/FP8_Q0.7')
+ param_check = commands.getoutput('cat $PFW_RESULT/FP8_Q0.7')
log.I("Setting %s to value %s" % (self.type_name, value))
#Set parameter value
out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
@@ -244,5 +244,5 @@ class TestCases(PfwTestCase):
assert out != "Done", log.F("Error not detected when setting parameter %s out of bounds"
% (self.param_name))
#Check parameter value on filesystem
- assert commands.getoutput('cat $PFW_FILESYSTEM/FP8_Q0.7') == param_check, log.F("FILESYSTEM - Forbiden parameter change")
+ assert commands.getoutput('cat $PFW_RESULT/FP8_Q0.7') == param_check, log.F("FILESYSTEM - Forbiden parameter change")
log.I("test OK")