Test.json 3.3 KB
Newer Older
T
TonyWang222 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
{
  "description": "Config for MindSpore test cases",
  "driver": {
    "module-name": "ActsMindSporeTest",
    "native-test-timeout": "120000",
    "native-test-device-path": "/data/local/tmp",
    "runtime-hint": "1s",
    "type": "CppTest"
  },
  "kits": [
    {
        "type": "ShellKit",
        "run-command": [
            "remount",
            "mkdir /data/test"
        ]
T
TonyWang222 已提交
17 18 19 20 21
    },
    {
        "type": "PushKit",
        "push": [
            "ActsMindSporeTest->/data/local/tmp/ActsMindSporeTest",
T
TonyWang222 已提交
22
            "resource/ai/mindspore/aiy_vision_classifier_plants_V1_3/aiy_vision_classifier_plants_V1_3.ms -> /data/test",
23
            "resource/ai/mindspore/aiy_vision_classifier_plants_V1_3/aiy_vision_classifier_plants_V1_3_offline_model.ms -> /data/test",
T
TonyWang222 已提交
24 25 26
            "resource/ai/mindspore/aiy_vision_classifier_plants_V1_3/aiy_vision_classifier_plants_V1_3.input -> /data/test",
            "resource/ai/mindspore/aiy_vision_classifier_plants_V1_3/aiy_vision_classifier_plants_V1_30.output -> /data/test",
            "resource/ai/mindspore/ml_face_is_face/ml_face_isface.ms -> /data/test",
T
TonyWang222 已提交
27
            "resource/ai/mindspore/ml_face_is_face/ml_face_isface_r13.ms -> /data/test",
28
            "resource/ai/mindspore/ml_face_is_face/ml_face_isface_offline_model.ms -> /data/test",
T
TonyWang222 已提交
29 30 31 32 33 34 35
            "resource/ai/mindspore/ml_face_is_face/ml_face_isface.input -> /data/test",
            "resource/ai/mindspore/ml_face_is_face/ml_face_isface_0.input -> /data/test",
            "resource/ai/mindspore/ml_face_is_face/ml_face_isface0.output -> /data/test",
            "resource/ai/mindspore/ml_Hand_deploy/ml_Hand_deploy.ms -> /data/test",
            "resource/ai/mindspore/ml_Hand_deploy/ml_Hand_deploy_0.input -> /data/test",
            "resource/ai/mindspore/ml_Hand_deploy/ml_Hand_deploy0.output -> /data/test",
            "resource/ai/mindspore/ml_ocr_cn/ml_ocr_cn.ms -> /data/test",
Z
Zhu Guodong 已提交
36
            "resource/ai/mindspore/ml_ocr_cn/ml_ocr_cn_offline_model.ms -> /data/test",
37
            "resource/ai/mindspore/ml_ocr_cn/ml_ocr_cn_0.input -> /data/test",
T
TonyWang222 已提交
38 39
            "resource/ai/mindspore/ml_ocr_cn/ml_ocr_cn0.output -> /data/test",
            "resource/ai/mindspore/ml_headpose_pb2tflite/ml_headpose_pb2tflite.ms -> /data/test",
Z
Zhu Guodong 已提交
40
            "resource/ai/mindspore/ml_headpose_pb2tflite/ml_headpose_pb2tflite_offline_model.ms -> /data/test",
T
TonyWang222 已提交
41 42 43 44
            "resource/ai/mindspore/ml_headpose_pb2tflite/ml_headpose_pb2tflite_0.input -> /data/test",
            "resource/ai/mindspore/ml_headpose_pb2tflite/ml_headpose_pb2tflite_1.input -> /data/test",
            "resource/ai/mindspore/ml_headpose_pb2tflite/ml_headpose_pb2tflite_2.input -> /data/test",
            "resource/ai/mindspore/ml_headpose_pb2tflite/ml_headpose_pb2tflite0.output -> /data/test"
T
TonyWang222 已提交
45
        ]
Z
Zhu Guodong 已提交
46 47 48 49 50 51 52 53 54 55 56 57 58
    },
    {
        "type": "ShellKit",
	    "run-command": [
            "mount -o rw,remount /",
            "[ -d '/system/lib' ] && cp /system/lib/ndk/libmindspore_lite_ndk.so /system/lib/platformsdk/",
            "[ -d '/system/lib64' ] && cp /system/lib64/ndk/libmindspore_lite_ndk.so /system/lib64/platformsdk/"
	    ],
        "teardown-command": [
            "[ -d '/system/lib' ] && cp /system/lib64/platformsdk/libmindspore_lite_ndk.so",
            "[ -d '/system/lib64' ] && cp /system/lib64/platformsdk/libmindspore_lite_ndk.so",
            "mount -o ro,remount /"
        ]
T
TonyWang222 已提交
59
    }
Z
Zhu Guodong 已提交
60
  ]
T
TonyWang222 已提交
61
}