Fix test driver python3 compatibility issues
authorMateusz Lenik <mlen@mlen.pl>
Thu, 30 Oct 2014 16:50:41 +0000 (11:50 -0500)
committerAustin Seipp <austin@well-typed.com>
Thu, 30 Oct 2014 16:50:42 +0000 (11:50 -0500)
commitc6d4ae6f437fb041ea70f3d2b4f7f0d03ff797bf
treeb068ee6d1e5af74c2fc8c73965e5793974c541e5
parent9de52406522dc43722f5ee06ba89a63da133099e
Fix test driver python3 compatibility issues

Summary:
Fixes python3 compatibility issues by replacing filter with a list
comperhension and a potential issue with python2 when override_flags
would be an empty list.

Reviewers: austin, thomie

Reviewed By: austin, thomie

Subscribers: thomie, carter, simonmar, mlen

Differential Revision: https://phabricator.haskell.org/D399

GHC Trac Issues: #9230
testsuite/driver/testlib.py