Change uses of `sys.platform == 'linux2' to `sys.platform.startswith('linux')
authorEric Fiselier <eric@efcs.ca>
Thu, 23 Oct 2014 23:05:46 +0000 (23:05 +0000)
committerEric Fiselier <eric@efcs.ca>
Thu, 23 Oct 2014 23:05:46 +0000 (23:05 +0000)
commit5a5fadd70d0979d076669e4bc9fe3f9192153ec7
treeb0d6d63e8f1d874dfc125bbc19746824203edcd0
parent460b224ef92fa71abb86fc5f20cc5a96d5efd73d
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: 220535
libcxxabi/test/lit.cfg