Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
igt-gpu-tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
56
Issues
56
List
Boards
Labels
Service Desk
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
drm
igt-gpu-tools
Commits
c9d03782
Commit
c9d03782
authored
Aug 13, 2013
by
Daniel Vetter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: s/exit(EXIT_SUCCESS)/igt_success()/
Signed-off-by:
Daniel Vetter
<
daniel.vetter@ffwll.ch
>
parent
a4cb8954
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
10 deletions
+10
-10
tests/gem_ctx_bad_destroy.c
tests/gem_ctx_bad_destroy.c
+1
-1
tests/gem_ctx_bad_exec.c
tests/gem_ctx_bad_exec.c
+1
-1
tests/gem_ctx_basic.c
tests/gem_ctx_basic.c
+2
-2
tests/gem_ctx_create.c
tests/gem_ctx_create.c
+1
-1
tests/gem_ctx_exec.c
tests/gem_ctx_exec.c
+1
-1
tests/gem_reg_read.c
tests/gem_reg_read.c
+1
-1
tests/sysfs_rc6_residency.c
tests/sysfs_rc6_residency.c
+2
-2
tests/sysfs_rps.c
tests/sysfs_rps.c
+1
-1
No files found.
tests/gem_ctx_bad_destroy.c
View file @
c9d03782
...
...
@@ -107,5 +107,5 @@ int main(int argc, char *argv[])
close
(
fd
);
exit
(
EXIT_SUCCESS
);
igt_success
(
);
}
tests/gem_ctx_bad_exec.c
View file @
c9d03782
...
...
@@ -126,5 +126,5 @@ int main(int argc, char *argv[])
igt_subtest
(
"blt"
)
igt_assert
(
exec
(
fd
,
handle
,
I915_EXEC_BLT
,
ctx_id
)
!=
0
);
exit
(
EXIT_SUCCESS
);
igt_success
(
);
}
tests/gem_ctx_basic.c
View file @
c9d03782
...
...
@@ -130,7 +130,7 @@ static void parse(int argc, char *argv[])
case
'h'
:
case
'?'
:
default:
exit
(
EXIT_SUCCESS
);
igt_success
(
);
break
;
}
}
...
...
@@ -169,5 +169,5 @@ int main(int argc, char *argv[])
free
(
threads
);
close
(
fd
);
exit
(
EXIT_SUCCESS
);
igt_success
(
);
}
tests/gem_ctx_create.c
View file @
c9d03782
...
...
@@ -62,5 +62,5 @@ int main(int argc, char *argv[])
close
(
fd
);
exit
(
EXIT_SUCCESS
);
igt_success
(
);
}
tests/gem_ctx_exec.c
View file @
c9d03782
...
...
@@ -138,5 +138,5 @@ int main(int argc, char *argv[])
igt_assert
(
exec
(
fd
,
handle
,
I915_EXEC_RENDER
,
ctx_id
)
<
0
);
exit
(
EXIT_SUCCESS
);
igt_success
(
);
}
tests/gem_reg_read.c
View file @
c9d03782
...
...
@@ -87,5 +87,5 @@ int main(int argc, char *argv[])
EINVAL
,
"bad register"
);
close
(
fd
);
exit
(
EXIT_SUCCESS
);
igt_success
(
);
}
tests/sysfs_rc6_residency.c
View file @
c9d03782
...
...
@@ -84,7 +84,7 @@ int main(int argc, char *argv[])
/* claim success if no rc6 enabled. */
if
(
readit
(
path
)
==
0
)
exit
(
EXIT_SUCCESS
);
igt_success
(
);
ret
=
asprintf
(
&
path
,
"/sys/class/drm/card%d/power/rc6_residency_ms"
,
device
);
igt_assert
(
ret
!=
-
1
);
...
...
@@ -120,5 +120,5 @@ int main(int argc, char *argv[])
igt_fail
(
1
);
}
exit
(
EXIT_SUCCESS
);
igt_success
(
);
}
tests/sysfs_rps.c
View file @
c9d03782
...
...
@@ -192,5 +192,5 @@ int main(int argc, char *argv[])
writeval
(
stuff
[
MIN
].
filp
,
origmin
);
writeval
(
stuff
[
MAX
].
filp
,
origmax
);
exit
(
EXIT_SUCCESS
);
igt_success
(
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment