277fd5e6545c8ba1272027ee6e6bc55a96316dc0 |
|
14-Jan-2016 |
David Gross <dgross@google.com> |
Add Java reflection for "#pragma rs reduce". Also: - test.py now recognizes "Script*.java.expect" files as masters for comparing reflected code the same way "stderr.txt.expect" and "stdout.txt.expect" are masters for comparing compiler stderr and stdout. - gReflectionTypes[] now has a '"common name" in script (C99)' column (e.g., "short" is the common name by which a type appears in script code, in contrast with "int16_t" which is the name by which a type is reflected in NDK code). Bug: 23535724 Change-Id: I7960968bb98a17e33fe23415f7927cac537b72a3
/frameworks/compile/slang/tests/test.py
|
35c04a9404d207fd7065d6f03ecc482ace0fbbf2 |
|
10-Dec-2015 |
David Gross <dgross@google.com> |
Alphabetize tests. When the user does not provide a list of tests and hence we are running all tests, run them in alphabetical order. This is particularly helpful when there are failures -- the failures are listed in run order. Change-Id: If7f8b05a64ee418a7e46752c5a3669012953bf0a
/frameworks/compile/slang/tests/test.py
|
4e90434c580756a96d6b86e8e2b9256c32b81ecc |
|
14-Oct-2015 |
Yang Ni <yangni@google.com> |
Use single quote in python script for consistency Change-Id: Iec13ae842538557eccf37ae9cc7c57352a89df57
/frameworks/compile/slang/tests/test.py
|
72b06838b0297ca0f0c59bbec18d188d9aad7fe4 |
|
14-Oct-2015 |
Yang Ni <yangni@google.com> |
Fix hard coded path to out directory in slang test Tests fail if out directory is no part of the Android tree, e.g., on another file system. Even worse, it may pick up the wrong and stale out directory that happens to sit in the source tree. Change-Id: I091b8f14f4a8471e17b3545270f28dd99736660e
/frameworks/compile/slang/tests/test.py
|
cad0d742e189196221fb028f8501f5ca26617723 |
|
09-Jan-2014 |
Jean-Luc Brouillet <jeanluc@google.com> |
Specify that we can have more verbose messages in the help text. Change-Id: I3695d122955f29e149ec1bc521ee4ea5e1d9ae3d
/frameworks/compile/slang/tests/test.py
|
bb99afd2800daecda16cc20d3974eae7c4fdd4b5 |
|
12-Jun-2013 |
Tobias Grosser <grosser@google.com> |
Remove dependence to python 2.4 python 2.4 is not available any more on my Gubuntu system. I also do not see a reason why to enforce python 2.4. Change-Id: I8ab6cd38ba0f163ef53eb64d52d833923c5070c2
/frameworks/compile/slang/tests/test.py
|
11274a7324b478ec13e1d10a1b81350b34a65ab1 |
|
27-Sep-2012 |
Stephen Hines <srhines@google.com> |
Validate FS (and RS) ASTs. This change adds a new RSCheckAST class that is used to handle validation of the final AST. The checks include existing RS checks (for accepted types) and new checks for Filterscript (like disallowing pointers, unions and > 32 bit types completely). The refactoring also fixes a subtle union bug that existed in prior versions of llvm-rs-cc. We also add an implicit pragma for "rs_fp_relaxed" by default on Filterscript. Bug: 7166741 Change-Id: Ia077783b4caba0bbd89df2ab3827e9f4d1009eea
/frameworks/compile/slang/tests/test.py
|
ca13d7cc4c71ef5426e16bc997d4640facf7eda4 |
|
02-Apr-2012 |
Stephen Hines <srhines@google.com> |
Update include path for slang testing. Change-Id: I35c544cd493dcea057f99c5bb6c5afd80861cfb1
/frameworks/compile/slang/tests/test.py
|
a4c54ee5ceb193d514618d341ec6967bff02cb2b |
|
31-Jan-2012 |
Stephen Hines <srhines@google.com> |
Support updating CTS tests via slang's test.py. Running test.py with "-u" will trigger an update of the checked-in CTS test files (.bc and reflected .java classes). Tests to be checked-in are denoted by the presence of a file with the name "IN_CTS" in their subdirectory. Change-Id: I3273200bd93404a3229aad73a80ae70c83a18c54
/frameworks/compile/slang/tests/test.py
|
c632be206ac4fe49a5db05cfa54942d774329dbe |
|
24-Sep-2011 |
Stephen Hines <srhines@google.com> |
Generate warnings properly for multi-file compiles. BUG=5367019 Slang (llvm-rs-cc) was clobbering warnings during multi-file compilation because they are not part of the error count. When the diagnostics get reset, we should be dumping whichever non-error (i.e. warning) diagnostics we have accumulated. During investigation, I also found then that our dependency generation path can cause duplicate warnings to be added to the diagnostic client. Thus, to fix this bug, the change need dumps relevant diagnostics, but then suppresses warnings if we are compiling the same file multiple times (once for code generation and once for dependencies). Change-Id: I4b94e962f93b96f31ff7e7d6cce45418fe39e1d1
/frameworks/compile/slang/tests/test.py
|
0b874dacc570d6ed42cad26e0907548d459dfde5 |
|
22-Jul-2011 |
Stephen Hines <srhines@google.com> |
Support new arguments for llvm-rs-cc testing. Change-Id: Ieaed412be36ca4273759870e6ec23680723653ce
/frameworks/compile/slang/tests/test.py
|
6b201eb3306b9609a991728a52ce948974bd4aed |
|
21-Jul-2011 |
Stephen Hines <srhines@google.com> |
Define RS_VERSION as the SDK version. Change-Id: Iaee48b397923e7f6af33b6dfd4a03f52bdd34f93
/frameworks/compile/slang/tests/test.py
|
4470828373378510f1d02cae4e80cfe143577de6 |
|
20-Jan-2011 |
Stephen Hines <srhines@google.com> |
Update tests to use new headers. Change-Id: I4904c0bfc9a7726d656a6f20757a347642af36b6
/frameworks/compile/slang/tests/test.py
|
dd6206bb61bf8df2ed6b643abe8a29c48a315685 |
|
10-Dec-2010 |
Stephen Hines <srhines@google.com> |
Arrays of width 3 vector types cannot be exported. Bug: 3171195 Change-Id: I7deab4ab9c7f8650bce7c597fae2a0dc013f6f71
/frameworks/compile/slang/tests/test.py
|
8dd522d2a6b96c79117bdc5d6b58d336846e4346 |
|
06-Dec-2010 |
Stephen Hines <srhines@google.com> |
Sort the test files before compiling them. Change-Id: I5032d63e88217614b6188f7526090b75036b7d73
/frameworks/compile/slang/tests/test.py
|
e5e64432476a44b59c61ded233b1149109c7a7c3 |
|
03-Dec-2010 |
Stephen Hines <srhines@google.com> |
Improved error messages for structs. This change also adds two new tests for anonymous structures (both with and without an associated typedef). I have also updated test.py to support a more verbose output for dumping the actual test commands that are executed. Change-Id: Ic1edc8d4e98c2017611430eb581c335146ccc927
/frameworks/compile/slang/tests/test.py
|
88bb794545936b6915f4ce22fd4404b3cda3bbd7 |
|
24-Nov-2010 |
Stephen Hines <srhines@google.com> |
Options for compiler test framework. Change-Id: I6b7f946cd5ae6feae6ad40a4bca68b025cfd7d65
/frameworks/compile/slang/tests/test.py
|
77b5baba8349b0741c36f4c0db86660bc0a96991 |
|
24-Nov-2010 |
Stephen Hines <srhines@google.com> |
Add basic compiler test framework for llvm-rs-cc. Change-Id: I5c6842900b86a568a9371064c74a8639b90058de
/frameworks/compile/slang/tests/test.py
|