search for: _test_checks

Displaying 17 results from an estimated 17 matches for "_test_checks".

2018 Jan 29
4
Migrate utils/ Python 2 scripts to Python 3
...I noticed that many Python scripts under utils/ have a shebang of `#!/usr/bin/python` (which is a symlink to python2.7 on many platforms) and some of them use Python 2 syntax that is not compatible with Python 3 (e.g. print statements; str/bytes) I created a revision to migrate utils/update_{llc_,}_test_checks.py from Python 2 to Python 3 https://reviews.llvm.org/D42450 , the arguments against making it Python 3 is: * There are many Mac OS X users and Mac OS X 10.8 comes with Python 2.7 pre-installed [0] but not Python 3. * Forcing scripts to use Python 3 (by doing so we can avoid some compatibility tro...
2018 Jan 30
4
Migrate utils/ Python 2 scripts to Python 3
...many Python scripts under utils/ have a shebang of > `#!/usr/bin/python` (which is a symlink to python2.7 on many platforms) and some of them use Python 2 syntax that is not compatible with Python 3 (e.g. print statements; str/bytes) > > I created a revision to migrate utils/update_{llc_,}_test_checks.py from Python 2 to Python 3 https://reviews.llvm.org/D42450 <https://reviews.llvm.org/D42450> , the arguments against making it Python 3 is: > > * There are many Mac OS X users and Mac OS X 10.8 comes with Python 2.7 pre-installed [0] but not Python 3. > * Forcing scripts to use Py...
2018 Jan 29
0
Migrate utils/ Python 2 scripts to Python 3
...many Python scripts under utils/ have a shebang of > `#!/usr/bin/python` (which is a symlink to python2.7 on many platforms) and some of them use Python 2 syntax that is not compatible with Python 3 (e.g. print statements; str/bytes) > > I created a revision to migrate utils/update_{llc_,}_test_checks.py from Python 2 to Python 3 https://reviews.llvm.org/D42450 , the arguments against making it Python 3 is: > > * There are many Mac OS X users and Mac OS X 10.8 comes with Python 2.7 pre-installed [0] but not Python 3. > * Forcing scripts to use Python 3 (by doing so we can avoid some co...
2018 Jan 30
0
Migrate utils/ Python 2 scripts to Python 3
...on scripts under utils/ have a shebang of > `#!/usr/bin/python` (which is a symlink to python2.7 on many platforms) > and some of them use Python 2 syntax that is not compatible with Python 3 > (e.g. print statements; str/bytes) > > I created a revision to migrate utils/update_{llc_,}_test_checks.py from > Python 2 to Python 3 https://reviews.llvm.org/D42450 , the arguments > against making it Python 3 is: > > * There are many Mac OS X users and Mac OS X 10.8 comes with Python 2.7 > pre-installed [0] but not Python 3. > * Forcing scripts to use Python 3 (by doing so we can...
2018 Jan 29
1
Migrate utils/ Python 2 scripts to Python 3
...scripts under utils/ have a shebang of >> `#!/usr/bin/python` (which is a symlink to python2.7 on many platforms) and some of them use Python 2 syntax that is not compatible with Python 3 (e.g. print statements; str/bytes) >> >> I created a revision to migrate utils/update_{llc_,}_test_checks.py from Python 2 to Python 3 https://reviews.llvm.org/D42450 , the arguments against making it Python 3 is: >> >> * There are many Mac OS X users and Mac OS X 10.8 comes with Python 2.7 pre-installed [0] but not Python 3. >> * Forcing scripts to use Python 3 (by doing so we can a...
2018 Feb 01
0
Migrate utils/ Python 2 scripts to Python 3
...; `#!/usr/bin/python` (which is a symlink to python2.7 on many >> platforms) and some of them use Python 2 syntax that is not >> compatible with Python 3 (e.g. print statements; str/bytes) >> >> I created a revision to migrate >> utils/update_{llc_,}_test_checks.py from Python 2 to Python 3 >> https://reviews.llvm.org/D42450 <https://reviews.llvm.org/D42450> >> , the arguments against making it Python 3 is: >> >> * There are many Mac OS X users and Mac OS X 10.8 comes with >> Python 2.7 pre-installed [0]...
2018 Jan 31
2
Migrate utils/ Python 2 scripts to Python 3
...>>> `#!/usr/bin/python` (which is a symlink to python2.7 on many platforms) >>> and some of them use Python 2 syntax that is not compatible with Python 3 >>> (e.g. print statements; str/bytes) >>> >>> I created a revision to migrate utils/update_{llc_,}_test_checks.py from >>> Python 2 to Python 3 https://reviews.llvm.org/D42450 , the arguments against >>> making it Python 3 is: >>> >>> * There are many Mac OS X users and Mac OS X 10.8 comes with Python 2.7 >>> pre-installed [0] but not Python 3. >>> * Fo...
2018 Feb 01
3
Migrate utils/ Python 2 scripts to Python 3
...ls/ have a shebang of >> `#!/usr/bin/python` (which is a symlink to python2.7 on many platforms) >> and some of them use Python 2 syntax that is not compatible with Python 3 >> (e.g. print statements; str/bytes) >> >> I created a revision to migrate utils/update_{llc_,}_test_checks.py from >> Python 2 to Python 3 https://reviews.llvm.org/D42450 , the arguments against >> making it Python 3 is: >> >> * There are many Mac OS X users and Mac OS X 10.8 comes with Python 2.7 >> pre-installed [0] but not Python 3. >> * Forcing scripts to use Pyth...
2018 Jan 31
0
Migrate utils/ Python 2 scripts to Python 3
...ls/ have a shebang of >> `#!/usr/bin/python` (which is a symlink to python2.7 on many platforms) >> and some of them use Python 2 syntax that is not compatible with Python 3 >> (e.g. print statements; str/bytes) >> >> I created a revision to migrate utils/update_{llc_,}_test_checks.py from >> Python 2 to Python 3 https://reviews.llvm.org/D42450 , the arguments against >> making it Python 3 is: >> >> * There are many Mac OS X users and Mac OS X 10.8 comes with Python 2.7 >> pre-installed [0] but not Python 3. >> * Forcing scripts to use Pyth...
2018 Jan 31
0
Migrate utils/ Python 2 scripts to Python 3
...!/usr/bin/python` (which is a symlink to python2.7 on many platforms) >>>> and some of them use Python 2 syntax that is not compatible with Python 3 >>>> (e.g. print statements; str/bytes) >>>> >>>> I created a revision to migrate utils/update_{llc_,}_test_checks.py from >>>> Python 2 to Python 3 https://reviews.llvm.org/D42450 , the arguments against >>>> making it Python 3 is: >>>> >>>> * There are many Mac OS X users and Mac OS X 10.8 comes with Python 2.7 >>>> pre-installed [0] but not Python...
2018 Feb 01
0
Migrate utils/ Python 2 scripts to Python 3
...>>> `#!/usr/bin/python` (which is a symlink to python2.7 on many platforms) >>> and some of them use Python 2 syntax that is not compatible with Python 3 >>> (e.g. print statements; str/bytes) >>> >>> I created a revision to migrate utils/update_{llc_,}_test_checks.py from >>> Python 2 to Python 3 https://reviews.llvm.org/D42450 , the arguments against >>> making it Python 3 is: >>> >>> * There are many Mac OS X users and Mac OS X 10.8 comes with Python 2.7 >>> pre-installed [0] but not Python 3. >>> * Fo...
2018 Feb 01
0
Migrate utils/ Python 2 scripts to Python 3
...n` (which is a symlink to python2.7 on many platforms) >>>>> and some of them use Python 2 syntax that is not compatible with Python 3 >>>>> (e.g. print statements; str/bytes) >>>>> >>>>> I created a revision to migrate utils/update_{llc_,}_test_checks.py from >>>>> Python 2 to Python 3 https://reviews.llvm.org/D42450 , the arguments against >>>>> making it Python 3 is: >>>>> >>>>> * There are many Mac OS X users and Mac OS X 10.8 comes with Python 2.7 >>>>> pre-installed...
2020 Jul 01
2
[RFC] Compiled regression tests.
...dated. IME, many of our tests check way too much. Codegen tests are particularly egregious in this regard because many are (re-)generated and match whole functions of asm. One of the major problems with using FileCheck regexps in generated tests is that it's very difficult to take an update_*_test_checks.py output and whittle it down because the FileCheck regexps define and use variables which need to be massaged while altering the test. I have some patches that help alleviate this. > This problem goes away if the test method by default ignored value > names/MDNode numbers and software deve...
2018 Feb 01
5
Migrate utils/ Python 2 scripts to Python 3
...n/python` (which is a symlink to python2.7 on many platforms) > >>> and some of them use Python 2 syntax that is not compatible with > Python 3 > >>> (e.g. print statements; str/bytes) > >>> > >>> I created a revision to migrate utils/update_{llc_,}_test_checks.py > from > >>> Python 2 to Python 3 https://reviews.llvm.org/D42450 , the arguments > against > >>> making it Python 3 is: > >>> > >>> * There are many Mac OS X users and Mac OS X 10.8 comes with Python 2.7 > >>> pre-installed [0] b...
2018 Feb 01
1
Migrate utils/ Python 2 scripts to Python 3
...n/python` (which is a symlink to python2.7 on many platforms) > >>> and some of them use Python 2 syntax that is not compatible with > Python 3 > >>> (e.g. print statements; str/bytes) > >>> > >>> I created a revision to migrate utils/update_{llc_,}_test_checks.py > from > >>> Python 2 to Python 3 https://reviews.llvm.org/D42450 , the arguments > against > >>> making it Python 3 is: > >>> > >>> * There are many Mac OS X users and Mac OS X 10.8 comes with Python 2.7 > >>> pre-installed [0] b...
2018 Feb 01
0
Migrate utils/ Python 2 scripts to Python 3
...sr/bin/python` (which is a symlink to python2.7 on many platforms) > >>> and some of them use Python 2 syntax that is not compatible with Python 3 > >>> (e.g. print statements; str/bytes) > >>> > >>> I created a revision to migrate utils/update_{llc_,}_test_checks.py from > >>> Python 2 to Python 3 https://reviews.llvm.org/D42450 <https://reviews.llvm.org/D42450> , the arguments against > >>> making it Python 3 is: > >>> > >>> * There are many Mac OS X users and Mac OS X 10.8 comes with Python 2.7 > &g...
2020 Jul 01
5
[RFC] Compiled regression tests.
The test as written is fragile because it requires a certain ordering. If the output order is not important, use CHECK-DAG rather than CHECK. This would be a failure to understand the testing tool. My experience, over a 40-year career, is that good software developers are generally not very good test-writers. These are different skills and good testing is frequently not taught. It’s easy to