diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-06-02 16:11:59 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-06-02 16:11:59 -0700 |
commit | 2d819db53b19fea02c3fa5dd8100fcb5fa4d1b4f (patch) | |
tree | 443d1b0b163a67f00e12e189aa0da78e5de12fb9 | |
parent | b94433a6eade7332634cfc246ea8fc21fbbac1ac (diff) |
add test for shell code not optimized in -profiling builds
-rw-r--r-- | tests/test_other.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_other.py b/tests/test_other.py index cbb9ebc4..665832ee 100644 --- a/tests/test_other.py +++ b/tests/test_other.py @@ -207,6 +207,7 @@ Options that are modified or new in %s include: (['-O2'], lambda generated: '// The Module object' not in generated, 'with opts, no comments in shell code'), (['-O2', '-g2'], lambda generated: '// The Module object' not in generated, 'with -g2, no comments in shell code'), (['-O2', '-g3'], lambda generated: '// The Module object' in generated, 'with -g3, yes comments in shell code'), + (['-O2', '-profiling'], lambda generated: '// The Module object' in generated, 'with -profiling, yes comments in shell code'), ]: print params, text self.clear() |