diff --git a/testing/config/tests.toml b/testing/config/tests.toml index 3d0e5ba..937595f 100644 --- a/testing/config/tests.toml +++ b/testing/config/tests.toml @@ -182,6 +182,7 @@ source_file = "c/malardalen/matmult.c" [[tests]] test_name = "c_basicmath" source_file = "c/mibench/basicmath.c" +add_compiler_flags = "-lm" [[tests]] test_name = "c_crc32_mibench" diff --git a/testing/test.py b/testing/test.py index ebda1ed..283a4f2 100644 --- a/testing/test.py +++ b/testing/test.py @@ -86,6 +86,9 @@ def test_aspis(test_data, use_container, aspis_addopt, data_technique, cfc_techn test_name = test_data["test_name"] source_file = test_data["source_file"] + if("add_compiler_flags" in test_data): + aspis_addopt += " " + test_data["add_compiler_flags"] + if("black_list" in test_data): black_list = test_data["black_list"] if(data_technique in black_list or cfc_technique in black_list):