tests = { {["hepx"] = "hepx"}, {["hepx"] = "serial"}, {["hepx"] = "background"}, {["idhmc"] = "serial"}, {["idhmc"] = "background"}, {["iamcs"] = "serial"}, {["iamcs"] = "mpi-core8"}, {["iamcs"] = "mpi-core32"}, {["iamcs"] = "mpi-core32-4g"}, {["iamcs"] = "background"}, {["foo"] = "serial"}, {["foo"] = "mpi-core8"}, {["foo"] = "background"}, {["foo"] = "bar"}, } for i, test in ipairs(tests) do for account,partition in pairs(test) do printf("TEST: default_account: %s , partition: %s", account, partition) local qos = get_partition_qos(partition) or "" printf("-------------------------------------------------------------") end end