projects
/
contrib
/
beignet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9934f1b
)
fix ill-coded utest_run::main
author
Homer Hsing
<homer.xing@intel.com>
Thu, 31 Oct 2013 08:36:32 +0000
(16:36 +0800)
committer
Zhigang Gong
<zhigang.gong@intel.com>
Mon, 4 Nov 2013 07:33:41 +0000
(15:33 +0800)
Signed-off-by: Homer Hsing <homer.xing@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
utests/utest_run.cpp
patch
|
blob
|
history
diff --git
a/utests/utest_run.cpp
b/utests/utest_run.cpp
index
94fbbee
..
cd4356a
100644
(file)
--- a/
utests/utest_run.cpp
+++ b/
utests/utest_run.cpp
@@
-69,7
+69,7
@@
int main(int argc, char *argv[])
optarg = argv[1];
}
- {
+
do
{
switch (c)
{
case 'c':
@@
-111,7
+111,7
@@
int main(int argc, char *argv[])
usage();
exit(1);
}
- } while ((c = getopt_long (argc, argv, shortopts, longopts, NULL)) != -1)
+ } while ((c = getopt_long (argc, argv, shortopts, longopts, NULL)) != -1)
;
cl_ocl_destroy();
}