diff options
Diffstat (limited to 'tests/RenderScriptTests/RSTest_CompatLib/src/com/android/rs/test/array_alloc.rs')
-rw-r--r-- | tests/RenderScriptTests/RSTest_CompatLib/src/com/android/rs/test/array_alloc.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/RenderScriptTests/RSTest_CompatLib/src/com/android/rs/test/array_alloc.rs b/tests/RenderScriptTests/RSTest_CompatLib/src/com/android/rs/test/array_alloc.rs deleted file mode 100644 index 74ffdb1..0000000 --- a/tests/RenderScriptTests/RSTest_CompatLib/src/com/android/rs/test/array_alloc.rs +++ /dev/null @@ -1,21 +0,0 @@ -#include "shared.rsh" - -const int dimX = 20; -rs_allocation a[dimX]; - -void array_alloc_test() { - bool failed = false; - - for (int i = 0; i < dimX; i++) { - rsDebug("i: ", i); - _RS_ASSERT(rsAllocationGetDimX(a[i]) == 1); - } - - if (failed) { - rsSendToClientBlocking(RS_MSG_TEST_FAILED); - } - else { - rsSendToClientBlocking(RS_MSG_TEST_PASSED); - } -} - |