Skip to content

Commit

Permalink
#190 Modified the name of some GlobalsToArgumentsTransformation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sergisiso committed Dec 19, 2019
1 parent 4915eee commit 4e56aa6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/psyclone/tests/gocean1p0_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1536,7 +1536,7 @@ def test_gokernelargument_type():
assert argument.type == "descriptor_type"


def test_kernelglobalstoarguments_wrongapi():
def test_globalstoargumentstrans_wrongapi():
''' Check the KernelGlobalsToArguments with an API other than GOcean1p0'''
from psyclone.transformations import KernelGlobalsToArguments, \
TransformationError
Expand All @@ -1556,7 +1556,7 @@ def test_kernelglobalstoarguments_wrongapi():
"type:" in str(err.value)


def test_kernelglobalstoarguments(monkeypatch, tmpdir):
def test_globalstoargumentstrans(monkeypatch, tmpdir):
''' Check the KernelGlobalsToArguments transformation '''

from psyclone.tests.utilities import get_invoke
Expand Down Expand Up @@ -1636,7 +1636,7 @@ def set_to_real(variable):
"cu_fld%grid%tmask, rdt)" in generated_code


def test_kernelglobalstoarguments_constant(monkeypatch, tmpdir):
def test_globalstoargumentstrans_constant(monkeypatch, tmpdir):
''' Check the KernelGlobalsToArguments transformation '''

from psyclone.tests.utilities import get_invoke
Expand Down Expand Up @@ -1682,7 +1682,7 @@ def set_to_real(variable):
assert "integer, intent(in) :: rdt" in kernel_code


def test_kernelglobalstoarguments_complex(monkeypatch, tmpdir):
def test_globalstoarguments_multiple_kernels(monkeypatch, tmpdir):
''' Check the KernelGlobalsToArguments transformation with an invoke with
three kernel calls, two of them duplicated and the third one sharing the
same imported module'''
Expand Down

0 comments on commit 4e56aa6

Please sign in to comment.