commit | 5636e63563194403a4c17e53b7bb6fae7ae8d2a2 | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Thu Oct 23 22:57:56 2014 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Thu Oct 23 22:57:56 2014 +0000 |
tree | c52ff8d9e8f876024bf26e256e480c72e90cefcc | |
parent | 79578cd14ff1f4579b31ae666e869d19eac97232 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@220534 91177308-0d34-0410-b5e6-96231b3b80d8