Bug fix to push 64bit files when requested.
Due to the integer to string comparison, 32bit files were always
being pushed regardless of what was requested.
Test: run vts -m VtsKernelLtp
Bug: 110557404
Change-Id: I3bd3e7e24bebc4ee48ff3a78fced44fa733eb3af
diff --git a/ltp/KernelLtpTest.py b/ltp/KernelLtpTest.py
index ccf2143..bc30f9e 100644
--- a/ltp/KernelLtpTest.py
+++ b/ltp/KernelLtpTest.py
@@ -60,8 +60,8 @@
the number is greater than 0, that number of threads
will be created to run the tests.
"""
- _32BIT = "32"
- _64BIT = "64"
+ _32BIT = 32
+ _64BIT = 64
_PASS = 0
_SKIP = 1
_FAIL = -1
@@ -242,7 +242,7 @@
n_bit: int, bitness
"""
test_bit = 'nativetest'
- if n_bit == 64:
+ if n_bit == self._64BIT:
test_bit += '64'
self.PreTestSetup(test_bit)
self.PushFiles(test_bit)