'Result must be None, \'FAIL\', \'WARN\' or \'GOOD\''

def set_platform_results(self, test_job, platform, result):

    if (test_job.platform_results[platform] is not None):
        return
    test_job.platform_results[platform] = result
    testname = ('%s.%s' % (test_job.testname, platform))
    if self.job:
        self.job.record(result, None, testname, status='')
