Change uses of `sys.platform == 'linux2' to `sys.platform.startswith('linux')
authorEric Fiselier <eric@efcs.ca>
Thu, 23 Oct 2014 22:57:56 +0000 (22:57 +0000)
committerEric Fiselier <eric@efcs.ca>
Thu, 23 Oct 2014 22:57:56 +0000 (22:57 +0000)
commit460b224ef92fa71abb86fc5f20cc5a96d5efd73d
tree254c4fa6a601bfa31b3c9b252e382f74cc3fbfc1
parent7daf3b89f9e6d1661adc5a378934405b2a2427a9
Change uses of `sys.platform == 'linux2' to `sys.platform.startswith('linux')

Although the current method is valid up till python 3.3 (which is not supported)
this seems to be a clearer way of checking for linux and moves the tests towards
python 3 compatibility.

llvm-svn: 220534
libcxx/test/lit.cfg