Skip to content

Commit c04d9e7

Browse files
author
Pratyai Mazumder
committed
Disable renaming of variables for certain tests (and let some tests pass).
1 parent 793afb0 commit c04d9e7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/fortran/create_internal_ast_test.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def test_minimal():
2424
end subroutine fun
2525
""").check_with_gfortran().get()
2626
# Construct
27-
cfg = ParseConfig(sources=sources)
27+
cfg = ParseConfig(sources=sources, rename_uniquely=False)
2828
iast, prog = create_internal_ast(cfg)
2929

3030
# Verify
@@ -61,7 +61,7 @@ def test_standalone_subroutines():
6161
end subroutine not_fun
6262
""").check_with_gfortran().get()
6363
# Construct
64-
cfg = ParseConfig(sources=sources)
64+
cfg = ParseConfig(sources=sources, rename_uniquely=False)
6565
iast, prog = create_internal_ast(cfg)
6666

6767
# Verify
@@ -113,7 +113,7 @@ def test_subroutines_from_module():
113113
end program main
114114
""").check_with_gfortran().get()
115115
# Construct
116-
cfg = ParseConfig(sources=sources)
116+
cfg = ParseConfig(sources=sources, rename_uniquely=False)
117117
iast, prog = create_internal_ast(cfg)
118118

119119
# Verify
@@ -152,7 +152,7 @@ def test_subroutine_with_local_variable():
152152
end subroutine fun
153153
""").check_with_gfortran().get()
154154
# Construct
155-
cfg = ParseConfig(sources=sources)
155+
cfg = ParseConfig(sources=sources, rename_uniquely=False)
156156
iast, prog = create_internal_ast(cfg)
157157

158158
# Verify
@@ -199,7 +199,7 @@ def test_subroutine_contains_function():
199199
end program main
200200
""").check_with_gfortran().get()
201201
# Construct
202-
cfg = ParseConfig(sources=sources)
202+
cfg = ParseConfig(sources=sources, rename_uniquely=False)
203203
iast, prog = create_internal_ast(cfg)
204204

205205
# Verify
@@ -257,7 +257,7 @@ def test_module_contains_types():
257257
end subroutine fun
258258
""").check_with_gfortran().get()
259259
# Construct
260-
cfg = ParseConfig(sources=sources)
260+
cfg = ParseConfig(sources=sources, rename_uniquely=False)
261261
iast, prog = create_internal_ast(cfg)
262262

263263
# Verify

0 commit comments

Comments
 (0)