2.3K Star 8.1K Fork 4.3K

GVPMindSpore / mindspore

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
test_custom_julia.py 477 Bytes
一键复制 编辑 原始数据 按行查看 历史
import os
import platform
import pytest
@pytest.mark.level1
@pytest.mark.platform_x86_cpu
@pytest.mark.env_onecard
def test_julia():
"""
Feature: test custom op of julia cases
Description: run julia_cases
Expectation: res == 0
"""
system = platform.system()
machine = platform.machine()
if system != 'Linux' or machine != 'x86_64':
return
res = os.system('sh julia_run.sh')
if res != 0:
assert False, 'julia test fail'
Python
1
https://gitee.com/mindspore/mindspore.git
git@gitee.com:mindspore/mindspore.git
mindspore
mindspore
mindspore
master

搜索帮助