1. Add .c extension to native_test.py so that native test in C can also be picked up by testrunner.
2. Add netkeystore_test into continuous test cycle.
This commit is contained in:
@@ -466,6 +466,12 @@ See test_defs.xsd for more information.
|
|||||||
description="Android STL."
|
description="Android STL."
|
||||||
extra_build_args="ASTL_TESTS=1" />
|
extra_build_args="ASTL_TESTS=1" />
|
||||||
|
|
||||||
|
<!-- Android Keystore tests -->
|
||||||
|
<test-native name="netkeystore_test"
|
||||||
|
build_path="frameworks/base/cmds/keystore/tests"
|
||||||
|
description="Android keystore."
|
||||||
|
extra_build_args="KEYSTORE_TESTS=1" />
|
||||||
|
|
||||||
<!-- pending patch 820
|
<!-- pending patch 820
|
||||||
<test-native name="gtest"
|
<test-native name="gtest"
|
||||||
build_path="external/gtest"
|
build_path="external/gtest"
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ class NativeTestSuite(AbstractTestSuite):
|
|||||||
"""
|
"""
|
||||||
for f in files:
|
for f in files:
|
||||||
(name, ext) = os.path.splitext(f)
|
(name, ext) = os.path.splitext(f)
|
||||||
if ext == ".cc" or ext == ".cpp":
|
if ext == ".cc" or ext == ".cpp" or ext == ".c":
|
||||||
if re.search("_test$|_test_$|_unittest$|_unittest_$|^test_", name):
|
if re.search("_test$|_test_$|_unittest$|_unittest_$|^test_", name):
|
||||||
logger.SilentLog("Found %s" % f)
|
logger.SilentLog("Found %s" % f)
|
||||||
test_list.append(str(os.path.join(dirname, f)))
|
test_list.append(str(os.path.join(dirname, f)))
|
||||||
|
|||||||
Reference in New Issue
Block a user