Skip to content
Snippets Groups Projects
Commit 5eedf7cc authored by Markus Holzer's avatar Markus Holzer
Browse files

corrected kerncraft typo in pytest marks

parent 25d91704
No related merge requests found
...@@ -14,7 +14,7 @@ SCRIPT_FOLDER = os.path.dirname(os.path.realpath(__file__)) ...@@ -14,7 +14,7 @@ SCRIPT_FOLDER = os.path.dirname(os.path.realpath(__file__))
INPUT_FOLDER = os.path.join(SCRIPT_FOLDER, "kerncraft_inputs") INPUT_FOLDER = os.path.join(SCRIPT_FOLDER, "kerncraft_inputs")
@pytest.mark.kernkraft @pytest.mark.kerncraft
def test_compilation(): def test_compilation():
machine_file_path = os.path.join(INPUT_FOLDER, "default_machine_file.yaml") machine_file_path = os.path.join(INPUT_FOLDER, "default_machine_file.yaml")
machine = kerncraft.machinemodel.MachineModel(path_to_yaml=machine_file_path) machine = kerncraft.machinemodel.MachineModel(path_to_yaml=machine_file_path)
...@@ -36,7 +36,7 @@ def test_compilation(): ...@@ -36,7 +36,7 @@ def test_compilation():
print(mine) print(mine)
@pytest.mark.kernkraft @pytest.mark.kerncraft
def analysis(kernel, model='ecmdata'): def analysis(kernel, model='ecmdata'):
machine_file_path = os.path.join(INPUT_FOLDER, "default_machine_file.yaml") machine_file_path = os.path.join(INPUT_FOLDER, "default_machine_file.yaml")
machine = kerncraft.machinemodel.MachineModel(path_to_yaml=machine_file_path) machine = kerncraft.machinemodel.MachineModel(path_to_yaml=machine_file_path)
...@@ -54,7 +54,7 @@ def analysis(kernel, model='ecmdata'): ...@@ -54,7 +54,7 @@ def analysis(kernel, model='ecmdata'):
return model return model
@pytest.mark.kernkraft @pytest.mark.kerncraft
def test_3d_7pt_iaca(): def test_3d_7pt_iaca():
# Make sure you use the intel compiler # Make sure you use the intel compiler
size = [20, 200, 200] size = [20, 200, 200]
...@@ -82,7 +82,7 @@ def test_3d_7pt_iaca(): ...@@ -82,7 +82,7 @@ def test_3d_7pt_iaca():
# assert reference.results['cl throughput'] == analysis.results['cl throughput'] # assert reference.results['cl throughput'] == analysis.results['cl throughput']
@pytest.mark.kernkraft @pytest.mark.kerncraft
def test_2d_5pt(): def test_2d_5pt():
size = [30, 50, 3] size = [30, 50, 3]
kernel_file_path = os.path.join(INPUT_FOLDER, "2d-5pt.c") kernel_file_path = os.path.join(INPUT_FOLDER, "2d-5pt.c")
...@@ -104,7 +104,7 @@ def test_2d_5pt(): ...@@ -104,7 +104,7 @@ def test_2d_5pt():
assert e1 == e2 assert e1 == e2
@pytest.mark.kernkraft @pytest.mark.kerncraft
def test_3d_7pt(): def test_3d_7pt():
size = [30, 50, 50] size = [30, 50, 50]
kernel_file_path = os.path.join(INPUT_FOLDER, "3d-7pt.c") kernel_file_path = os.path.join(INPUT_FOLDER, "3d-7pt.c")
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment