diff options
Diffstat (limited to 'test/functional-tests/PfwTestCase/Types/tFP32_Q8_20.py')
-rwxr-xr-x | test/functional-tests/PfwTestCase/Types/tFP32_Q8_20.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/functional-tests/PfwTestCase/Types/tFP32_Q8_20.py b/test/functional-tests/PfwTestCase/Types/tFP32_Q8_20.py index ed6b1c6..567acce 100755 --- a/test/functional-tests/PfwTestCase/Types/tFP32_Q8_20.py +++ b/test/functional-tests/PfwTestCase/Types/tFP32_Q8_20.py @@ -100,7 +100,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/FP32_Q8.20') == hex_value, log.F("FILESYSTEM : parameter update error") + assert commands.getoutput('cat $PFW_RESULT/FP32_Q8.20') == hex_value, log.F("FILESYSTEM : parameter update error") log.I("test OK") def test_TypeMin(self): @@ -137,7 +137,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/FP32_Q8.20') == hex_value, log.F("FILESYSTEM : parameter update error") + assert commands.getoutput('cat $PFW_RESULT/FP32_Q8.20') == hex_value, log.F("FILESYSTEM : parameter update error") log.I("test OK") def test_TypeMin_Overflow(self): @@ -162,7 +162,7 @@ class TestCases(PfwTestCase): log.D(self.test_TypeMin_Overflow.__doc__) log.I("FP32_Q8.20 parameter min value out of bounds = -500") value = "-500" - param_check = commands.getoutput('cat $PFW_FILESYSTEM/FP32_Q8.20') + param_check = commands.getoutput('cat $PFW_RESULT/FP32_Q8.20') #Set parameter value out, err = self.pfw.sendCmd("setParameter", self.param_name, value) assert err == None, log.E("when setting parameter %s : %s" @@ -170,7 +170,7 @@ class TestCases(PfwTestCase): assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" % (self.param_name)) #Check parameter value on filesystem - assert commands.getoutput('cat $PFW_FILESYSTEM/FP32_Q8.20') == param_check, log.F("FILESYSTEM : Forbiden parameter change") + assert commands.getoutput('cat $PFW_RESULT/FP32_Q8.20') == param_check, log.F("FILESYSTEM : Forbiden parameter change") log.I("test OK") def test_TypeMax(self): @@ -208,7 +208,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/FP32_Q8.20') == hex_value, log.F("FILESYSTEM : parameter update error") + assert commands.getoutput('cat $PFW_RESULT/FP32_Q8.20') == hex_value, log.F("FILESYSTEM : parameter update error") log.I("test OK") def test_TypeMax_Overflow(self): @@ -233,12 +233,12 @@ class TestCases(PfwTestCase): log.D(self.test_TypeMax_Overflow.__doc__) log.I("FP32_Q8.20 parameter max value out of bounds = 3200.8888") value = "3200.8888" - param_check = commands.getoutput('cat $PFW_FILESYSTEM/FP32_Q8.20') + param_check = commands.getoutput('cat $PFW_RESULT/FP32_Q8.20') #Set parameter value out, err = self.pfw.sendCmd("setParameter", self.param_name, value) assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" % (self.param_name)) #Check parameter value on filesystem - assert commands.getoutput('cat $PFW_FILESYSTEM/FP32_Q8.20') == param_check, log.F("FILESYSTEM : Forbiden parameter change") + assert commands.getoutput('cat $PFW_RESULT/FP32_Q8.20') == param_check, log.F("FILESYSTEM : Forbiden parameter change") log.I("test OK") |