diff --git a/usb/BUILD.gn b/usb/BUILD.gn index 6e37eabef7c52dedfe058058c0d2ca624e6cd144..8b60a81504a2ab6c7a444bdb71c2ef6c96101574 100755 --- a/usb/BUILD.gn +++ b/usb/BUILD.gn @@ -15,7 +15,10 @@ import("//build/ohos_var.gni") group("usb") { testonly = true - if (is_standard_system) { - deps = [ "usb_standard:usb_js_test" ] + if (device_name == "rk3568") { + } else { + if (is_standard_system) { + deps = [ "usb_standard:usb_js_test" ] + } } } diff --git a/usb/usb_standard/src/main/js/default/test/ListUsb.test.js b/usb/usb_standard/src/main/js/default/test/ListUsb.test.js index cd298d4f751197d22b33475d16146910e5916f8d..140438ea3a7d50e66ac128fe25091dad4432a215 100755 --- a/usb/usb_standard/src/main/js/default/test/ListUsb.test.js +++ b/usb/usb_standard/src/main/js/default/test/ListUsb.test.js @@ -15,15 +15,17 @@ /* host test case */ -require('./UsbCoreJsunit.test.js') -require('./UsbCoreJsunitEx.test.js') -require('./UsbDevicePipeJsunit.test.js') -require('./UsbDevicePipeJsunitEx.test.js') +//require('./UsbCoreJsunit.test.js') +//require('./UsbCoreJsunitEx.test.js') +//require('./UsbDevicePipeJsunit.test.js') +//require('./UsbDevicePipeJsunitEx.test.js') /* device test case */ -require('./UsbFunctionsJsunit.test.js') -require('./UsbFunctionsJsunitEx.test.js') +//require('./UsbFunctionsJsunit.test.js') +//require('./UsbFunctionsJsunitEx.test.js') /* device and host test case */ -require('./UsbPortJsunit.test.js') -require('./UsbPortJsunitEx.test.js') +//require('./UsbPortJsunit.test.js') +//require('./UsbPortJsunitEx.test.js') + +require('./UsbAutoJsunit.test.js')