Remi NGUYEN VAN
bdb7d1e70e
Merge "Add --no-hidden-api-checks to runtest" am: 66331409f1
...
am: 2d38c620de
Change-Id: I06320e36754f2e968f2fa96d3623f929d5018aab
2018-06-08 02:46:41 -07:00
Remi NGUYEN VAN
6686257924
Add --no-hidden-api-checks to runtest
...
New test tools are adding --no-hidden-api-checks when tests have
hidden-api-checks=false in their AndroidTest.xml, however this is not
supported by runtest. As only runtest is available in AOSP, this leaves
no option to make tests of internal classes pass.
Add an option to disable the check in runtest so we can still run tests in
AOSP.
Test: runtest frameworks-net still fails
Test: runtest --no-hidden-api-checks frameworks-net now passes
Change-Id: I9be9674d0bf2588ff509121273379f08d4cb3aea
2018-06-06 10:49:08 +09:00
Jorim Jaggi
13cd6796c9
Fix SystemUI jank tests
...
Change-Id: I029008558bddd888642d58d9d72c60555632ebd6
2018-01-24 00:55:13 +01:00
Jason Monk
ab19094f4a
Update notificationtests -> uiservicestests
...
Test: make
Change-Id: I5dbb6a5d75762737da35c1cacc9beeeba4b70d85
2017-12-06 12:53:52 -05:00
Yipeng Cao
b419d3f698
Merge "Upgrade test runner for location api"
2017-11-18 00:46:29 +00:00
tccyp
54f04601e9
Upgrade test runner for location api
...
- Upgraded the runner to AndroidJunitRunner
Bug: 69375757
Test: runtest frameworks-location
Change-Id: Iebccfb899b05586ece2778d9dfcc646b95f43a2f
2017-11-15 14:02:47 -08:00
Xin Li
b8d81aed6c
Merge commit '514a23836bc263e729c89b4c1ec60912a7cb6765' from
...
oc-mr1-dev-plus-aosp-without-vendor into stage-aosp-master
Change-Id: I9c96b666efe553d2bc51fca5b9ca5d29c45be083
2017-11-14 11:47:59 -08:00
Jack He
70e3377cfe
Merge "Modify bluetooth test target for new Instrumentation test location" am: bf27b31416 am: 134ddc8141
...
am: a4f37279de
Change-Id: I17922ba301e441245645adda548d46ed230e5bd1
2017-11-09 23:25:38 +00:00
Jack He
a4f37279de
Merge "Modify bluetooth test target for new Instrumentation test location" am: bf27b31416
...
am: 134ddc8141
Change-Id: Ic0e8e15d3c5d9b673e223052ba448e182f733496
2017-11-09 23:14:58 +00:00
Jack He
3b59d2fd77
Modify bluetooth test target for new Instrumentation test location
...
Bug: 64687504
Test: runtest -j40 bluetooth
Change-Id: Ifd178836fc31d4294ef6d6ec8bd74d5d97e6d1f5
2017-11-09 18:39:35 +00:00
Dan Willemsen
181b5bce16
Remove unused GetHostOsArch am: c1c3e5f1d8 am: eb469e00c9 am: a6560bb043
...
am: c34b71e733
Change-Id: Ibe4e431f47334525041acf1f7f7d8c30b72adfb3
2017-10-18 01:37:23 +00:00
Dan Willemsen
c34b71e733
Remove unused GetHostOsArch am: c1c3e5f1d8 am: eb469e00c9
...
am: a6560bb043
Change-Id: Ie7d357aedecff2bcf3222868b2c20339f139c542
2017-10-18 01:13:13 +00:00
Dan Willemsen
eb469e00c9
Remove unused GetHostOsArch
...
am: c1c3e5f1d8
Change-Id: Ib6f1e5bf6484487b8ce26c8ddaedd7d94c09029b
2017-10-18 01:05:04 +00:00
Dan Willemsen
c1c3e5f1d8
Remove unused GetHostOsArch
...
The users moved over to GetOutDir, and this shouldn't be parsing
report_config, so remove it.
Test: cs/GetHostOsArch
Change-Id: I9c045071af7f210b4ec19f158016ff53978a8a6c
2017-10-17 13:52:17 -07:00
Jonathan Basseri
68a089b607
Merge "Support -c and -m for GTEST." am: 85578a8515 am: 02dbc20df0 am: a6088f0828
...
am: 4dbe019988
Change-Id: I626d87a8019e72854016cf12f4fa714b9d11dc01
2017-09-19 19:11:09 +00:00
Jonathan Basseri
4dbe019988
Merge "Support -c and -m for GTEST." am: 85578a8515 am: 02dbc20df0
...
am: a6088f0828
Change-Id: Ic8e694a1e2a8a17cb47bb7fc050ad57416f75e10
2017-09-19 19:03:10 +00:00
Jonathan Basseri
02dbc20df0
Merge "Support -c and -m for GTEST."
...
am: 85578a8515
Change-Id: I822e311442c27f47097bdecb39f1c1bb6bda476f
2017-09-19 18:53:38 +00:00
Jonathan Basseri
f6051de6f4
Support -c and -m for GTEST.
...
This takes the --test-class and --test-method options and builds a
--gtest_filter value to use when invoking native tests.
How it works:
ARGS to runtest ARG to GTEST
--test-class= --test-method= <none>
--test-class=Foo --test-method= --gtest_filter=Foo.*
--test-class= --test-method=Bar --gtest_filter=*.Bar
--test-class=Foo --test-method=Bar --gtest_filter=Foo.Bar
Advanced:
-m *Iptables* runs all test methods containing 'Iptables' in any class.
-c *ControllerTest runs all tests in any class ending with 'ControllerTest'.
Note that the '.' and '*' characters above are not shell globs. The '*'
are wildcards, and the '.' are literals.
Test: runtest -x system/netd/server/netd_unit_test.cpp -m '*Iptables*'
Test: runtest -x system/netd/server/netd_unit_test.cpp -c BandwidthControllerTest
Test: runtest -x system/netd/server/netd_unit_test.cpp -c BandwidthControllerTest -m '*Iptables*'
Change-Id: I967296da1bdcbc404f5ab91d24f9714eec7b475b
2017-09-15 19:03:26 -07:00
Jeremy Joslin
b3449767ae
Specify AndroidJUnitRunner as the runner for frameworks-core.
...
Fixes
"Could not find instrumentation
com.android.frameworks.coretests/android.test.InstrumentationTestRunner
on device."
Test: runtest frameworks-core
Change-Id: If828843a7debe9c77ab2fad16bad386bc002e56d
2017-08-09 17:11:44 +00:00
Jason Monk
52faeff639
Merge "Update the runner for systemui" into oc-dr1-dev am: adbcdcba06
...
am: b8d07625d1
Change-Id: I2a43d749b7ceb8e1aa33d5828814578e31546ab9
2017-06-28 13:50:39 +00:00
Jason Monk
f5c03e60e4
Update the runner for systemui
...
Test: runtest systemui
Bug: 62935720
Change-Id: Idf5bcf433aad4d0dc170000e6ed397f1c45b8476
2017-06-27 14:25:25 -04:00
Michal Karpinski
2859eb925a
Add a rule for android-common-ex tests in testrunner
...
Some tests were moved from frameworks/base 7 years ago (ag/54455),
but the rule was never added so they couldn't have been run with
testrunner.
Test: testClass can be run with "runtest -c testClass android-common-ex"
Bug: 62161211
Change-Id: Ie70f0fc32ceec59c3d89be75415adff34c1402ed
2017-06-19 12:59:02 +01:00
Chris Wren
4278dfb234
add functional notification tests to runtest.py
...
Test: runtest.py systemui-functional-notification
Change-Id: I8871d79c0064917310b91ae8a58830a3c08a90fe
2016-11-14 09:59:59 -05:00
Geoffrey Pitsch
777e5d20a1
Remove runtest entry for systemui-google
...
Test: n/a
Change-Id: Icdfbc6fd47871b094f5e222f2a8f7a371a677eb2
2016-11-08 11:21:51 -05:00
Geoffrey Pitsch
2993857834
Add 'systemui-notification' target to runtest
...
Test: runtest systemui-notification
Change-Id: Ie895a171c82e3a8187d0f0f4c201e8bcd0e2ecc1
2016-11-07 11:20:25 -05:00
Geoffrey Pitsch
84c8e84586
runtest def for systemui-google
...
Test: runtest systemui-google
Change-Id: Id19e82f4a6d0786889e44592932387b4d80274a3
2016-11-01 11:19:09 -04:00
Lorenzo Colitti
5439831ee0
Add a test definition for framework networking tests.
...
Test: runtest frameworks-net # Runs tests.
Bug: 31479480
Change-Id: Ie7cb0406f5af27fcd78aa2736f64c464eca349f3
2016-10-28 17:14:22 +09:00
Ajay Panicker
1630559a5a
Merge "Add Bluetooth unit tests to testrunner" am: 1088af1620 am: ce662e8fe9 am: ed26f06b33
...
am: 19158e05c7
Change-Id: Ida29c7859ade7c299163e8ed06ce6e55efd51f28
2016-10-26 21:46:28 +00:00
Ajay Panicker
ce662e8fe9
Merge "Add Bluetooth unit tests to testrunner"
...
am: 1088af1620
Change-Id: Iaade429b275149b43e78ba16a3ea71ba85a95aa0
2016-10-26 21:32:58 +00:00
Ajay Panicker
5d1f72e736
Add Bluetooth unit tests to testrunner
...
Bluetooth tests can now be run on the device with the command
"runtest bluetooth"
Change-Id: Ic88ee37043b15ca225d587d4526e2ba2311434bb
2016-10-25 16:47:24 -07:00
Jorim Jaggi
a03dff537d
Add app transition latency tests to test defs
...
Change-Id: Iadd991ca186d7006288ff147be745e045df09cb5
2016-10-11 16:27:00 +02:00
Jorim Jaggi
fd16ae9b50
Add SystemUI jank tests to runtest test defs
...
Test: runtest systemui-jank
Change-Id: I130260c1b2597bea7ee42ec7284802963a17de1d
2016-10-11 14:35:50 +02:00
Chad Brubaker
02e646de03
Merge "Add test defintion for network security config tests"
2016-09-08 16:24:13 +00:00
Geoffrey Pitsch
251ae641b9
runtest target 'systemui' now uses JUnit4
...
Also only needs to build SystemUITests.apk
Change-Id: Ie237feb8561268a6660d89f4b9b75ada3d02128a
2016-08-26 09:39:29 -04:00
Chad Brubaker
ec4080cffd
Add test defintion for network security config tests
...
Change-Id: Ic46c38d66f7c868ad6ff1f686683eff3e19239cc
2016-08-24 12:39:39 -07:00
Victor Chang
126f40cb35
Enable runtest for ManagedProvisioning test
...
Change-Id: Ie06b47522c22bf51eb2a09cfd6db7c60714aa040
2016-08-18 19:55:19 +01:00
Dan Willemsen
dba372b234
Merge "runtest: Fix mmm equivalent" am: 0ba0482cc5 am: 7d5963c0af am: 55d7a034e9
...
am: 2a4c291f9b
Change-Id: I5744476218377af2672de65a4a908a6f9849eec6
2016-08-15 21:31:12 +00:00
Dan Willemsen
2a4c291f9b
Merge "runtest: Fix mmm equivalent" am: 0ba0482cc5 am: 7d5963c0af
...
am: 55d7a034e9
Change-Id: I6e980633407939d4f2f92416b9020a4fe9468a0f
2016-08-15 21:26:35 +00:00
Dan Willemsen
7d5963c0af
Merge "runtest: Fix mmm equivalent"
...
am: 0ba0482cc5
Change-Id: I0b25811ec3371b3aca29650e2577cc789786c512
2016-08-15 21:17:40 +00:00
Dan Willemsen
c794996b46
runtest: Fix mmm equivalent
...
This was installing all modules defined in Soong, since we always load
the Soong-generated Makefile for mm/mmm. So use MODULES-IN-* instead of
all_modules.
Also switch to the new GET-INSTALL-PATH-IN-* arguments.
Bug: 30191725
Change-Id: I8a660e24c9933f3f77eb23efd71f8e374a248576
2016-08-11 17:38:23 -07:00
Naveen Kalla
2ab9390717
Add runner to run frameworks-telephony tests
...
Set the runner to AndroidJUnitRunner for the frameworks-telephony
tests to run successfully.
Change-Id: I10876db2ce2be986f2cdc6f1a7622367d4bd1cc4
2016-07-27 22:06:01 +00:00
Christopher Wiley
3f514202d5
Allow using runtest with frameworks-services tests
...
( cherry-pick of 00d6fa79f7 )
Specifying a runner allows developers to run commands like:
`runtest frameworks-services`
without getting a message like:
"Could not find instrumentation
com.android.frameworks.servicestests/android.test.InstrumentationTestRunner
on device."
Bug: 28833951
Change-Id: I76fb58a8fa16db503c8e98eb5a09c481d41e0a76
Test: Described above
2016-06-07 12:44:45 -07:00
Christopher Wiley
00d6fa79f7
Allow using runtest with frameworks-services tests
...
Specifying a runner allows developers to run commands like:
`runtest frameworks-services`
without getting a message like:
"Could not find instrumentation
com.android.frameworks.servicestests/android.test.InstrumentationTestRunner
on device."
Bug: 28833951
Change-Id: I76fb58a8fa16db503c8e98eb5a09c481d41e0a76
Test: Described above
2016-05-18 12:26:02 -07:00
Erik Kline
c015c09def
Remove dhcpcd runtest definition.
...
The external/dhcpcd tree is done.
Bug: 26991160
Change-Id: I179581454b672adc46914bfb472c61b3dc01ca62
2016-03-09 17:20:14 +09:00
Lorenzo Colitti
e02265e264
Add a test definition for frameworks/base/core/tests/utiltests.
...
Change-Id: I490d475e22524bf86c92b0a3e418a5c1bb8ebe1f
2016-02-19 15:19:50 +09:00
Mitchell Wills
93178d7ac6
Add frameworks-wifi test name for runtest
...
Change-Id: I0c4ff02841288b7b249355e4a92b8df6115e70fe
2015-12-02 17:53:55 -08:00
Stuart Scott
ed4c4e800d
Merge "Remove CTS tests from runtest.py"
2015-09-28 16:39:19 +00:00
Ying Wang
7baf5da7b9
am ab5b0e57: am f2e32c0c: am e4cded63: Merge "Substitue "/" with "-" in the MODULES-IN phony goal names."
...
* commit 'ab5b0e5786f42d9fdd6c46637f5da21b88d34f67':
Substitue "/" with "-" in the MODULES-IN phony goal names.
2015-09-25 00:14:57 +00:00
Ying Wang
f2e32c0c9d
am e4cded63: Merge "Substitue "/" with "-" in the MODULES-IN phony goal names."
...
* commit 'e4cded631dae5fb121891f3ff9a9d72075f21b0e':
Substitue "/" with "-" in the MODULES-IN phony goal names.
2015-09-24 23:59:26 +00:00
Ying Wang
21d83c6817
Substitue "/" with "-" in the MODULES-IN phony goal names.
...
Bug: 24309760
Change-Id: I2372d0be0a811b11f3000646a2b7804e93852a84
2015-09-24 16:35:36 -07:00