|
73 | 73 | os.environ['PYTHONPATH'] = '.' |
74 | 74 | os.environ['HDF5_DIR'] = conda_prefix |
75 | 75 | try: |
76 | | - run_command(f'{develop_env_activate} && python -m hpat.tests.gen_test_data && coverage erase && coverage run -m hpat.runtests && coveralls -v') |
| 76 | + run_command(f'{develop_env_activate} && python -m sdc.tests.gen_test_data && coverage erase && coverage run -m sdc.runtests && coveralls -v') |
77 | 77 | except: |
78 | 78 | format_print('Coverage fails') |
79 | 79 | print(traceback.format_exc()) |
|
85 | 85 | os.chdir(../sdc_src) is a workaround for the following error: |
86 | 86 | Traceback (most recent call last): |
87 | 87 | File "<string>", line 1, in <module> |
88 | | - File "hpat/hpat/__init__.py", line 9, in <module> |
89 | | - import hpat.dict_ext |
90 | | - File "hpat/hpat/dict_ext.py", line 12, in <module> |
91 | | - from hpat.str_ext import string_type, gen_unicode_to_std_str, gen_std_str_to_unicode |
92 | | - File "hpat/hpat/str_ext.py", line 18, in <module> |
| 88 | + File "sdc/sdc/__init__.py", line 9, in <module> |
| 89 | + import sdc.dict_ext |
| 90 | + File "sdc/sdc/dict_ext.py", line 12, in <module> |
| 91 | + from sdc.str_ext import string_type, gen_unicode_to_std_str, gen_std_str_to_unicode |
| 92 | + File "sdc/sdc/str_ext.py", line 18, in <module> |
93 | 93 | from . import hstr_ext |
94 | | - ImportError: cannot import name 'hstr_ext' from 'hpat' (hpat/hpat/__init__.py) |
| 94 | + ImportError: cannot import name 'hstr_ext' from 'sdc' (sdc/sdc/__init__.py) |
95 | 95 | """ |
96 | 96 | os.chdir(os.path.dirname(sdc_src)) |
97 | 97 | run_command(f'{develop_env_activate} && {test_script}') |
|
119 | 119 | os.chdir(../sdc_src) is a workaround for the following error: |
120 | 120 | Traceback (most recent call last): |
121 | 121 | File "<string>", line 1, in <module> |
122 | | - File "hpat/hpat/__init__.py", line 9, in <module> |
123 | | - import hpat.dict_ext |
124 | | - File "hpat/hpat/dict_ext.py", line 12, in <module> |
125 | | - from hpat.str_ext import string_type, gen_unicode_to_std_str, gen_std_str_to_unicode |
126 | | - File "hpat/hpat/str_ext.py", line 18, in <module> |
| 122 | + File "sdc/sdc/__init__.py", line 9, in <module> |
| 123 | + import sdc.dict_ext |
| 124 | + File "sdc/sdc/dict_ext.py", line 12, in <module> |
| 125 | + from sdc.str_ext import string_type, gen_unicode_to_std_str, gen_std_str_to_unicode |
| 126 | + File "sdc/sdc/str_ext.py", line 18, in <module> |
127 | 127 | from . import hstr_ext |
128 | | - ImportError: cannot import name 'hstr_ext' from 'hpat' (hpat/hpat/__init__.py) |
| 128 | + ImportError: cannot import name 'hstr_ext' from 'sdc' (sdc/sdc/__init__.py) |
129 | 129 | """ |
130 | 130 | os.chdir(os.path.dirname(sdc_src)) |
131 | 131 | sdc_packages = get_sdc_build_packages(build_folder) |
|
0 commit comments