summaryrefslogtreecommitdiff
path: root/utests/utest_run.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Utest: Refine utest_run -l optionPan Xiuli2016-08-121-4/+14
| | | | | | | | | Refine old -l to test cases that can run -la for all test cases -li for test cases with issue Signed-off-by: Pan Xiuli <xiuli.pan@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
* Android: fix __thread keyword issue in android.Yang Rong2016-05-271-0/+5
| | | | | | | | | Android doesn't support __thread keyword, so use pthread instead in cl_thread.c and disable multithread in the utest. V2: remove __thread in the scr/cl_thread. Signed-off-by: Yang Rong <rong.r.yang@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@intel.com>
* no return value for non-void function.Luo Xionghu2016-05-231-0/+1
| | | | | Signed-off-by: Luo Xionghu <xionghu.luo@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
* add utests option: -j which specifies the 'number' of jobs (multi-thread)Meng Mengmeng2015-10-211-1/+13
| | | | | | | It's out-of-order execution in multi-tread which value range should be [1 - CPU cores]. Signed-off-by: Meng Mengmeng <mengmeng.meng@intel.com> Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
* utests: don't continue to run any case when fail to initialize device.Zhigang Gong2015-04-141-1/+5
| | | | | Signed-off-by: Zhigang Gong <zhigang.gong@intel.com> Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
* License: adjust all license version to LGPL v2.1+.Zhigang Gong2014-11-111-1/+1
| | | | | | | | To make the license statement consistent to each other, adjust all license versions to v2.1+. Thus beignet should have a pure LGPL v2.1+ license. Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
* Add new vload benchmark/test case.Zhigang Gong2014-09-031-0/+11
| | | | | | | | | v2: refine the benchmark case and don't mix it with normal unit test cases. Signed-off-by: Zhigang Gong <zhigang.gong@intel.com> Reviewed-by: "Song, Ruiling" <ruiling.song@intel.com>
* fix ill-coded utest_run::mainHomer Hsing2013-11-041-2/+2
| | | | | Signed-off-by: Homer Hsing <homer.xing@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
* Utests_run: Add known issue cases support.Yi Sun2013-09-041-15/+83
| | | | | | | | | | | | | | | | | Add some arguments: -c <casename>: run sub-case named 'casename' -l : list all the available case name -a : run all test cases -n : run all test cases without known issue -h : display this usage Add a alternate macro named MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE to register a new test case, which has some known issue to be fixed till now. While utest_run running, only cases which registered by MAKE_UTEST_FROM_FUNCTION will be involved by defalut. If you want to run all the test cases including those with known issue, you should use argument '-a'. Besides, you can use option '-c' to run any test case. Signed-off-by: Yi Sun <yi.sun@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
* list all available utests' namesLu Guanqun2013-08-211-0/+6
| | | | | Signed-off-by: Lu Guanqun <guanqun.lu@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
* Finished the small test frameworkBenjamin Segovia2012-08-101-6/+14
|
* Revamped tests to make them smaller and simpler (and more automatic to use)Benjamin Segovia2012-08-101-0/+36