summaryrefslogtreecommitdiff
path: root/test/polystar2.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2018-07-29 11:11:19 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2018-07-29 11:11:19 +0100
commit068f78a6fc5df0f99ea0077cf795959ba4699d73 (patch)
tree82eba14ccfb9dde44f6bdca20051ab5275e09aa5 /test/polystar2.c
parent87feda1b7f43c6402c760926bbbb67175cde319c (diff)
downloadlibnsfb-068f78a6fc5df0f99ea0077cf795959ba4699d73.tar.gz
libnsfb-068f78a6fc5df0f99ea0077cf795959ba4699d73.tar.bz2
Tests: Don't sleep when using the mem backend.
Diffstat (limited to 'test/polystar2.c')
-rw-r--r--test/polystar2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/polystar2.c b/test/polystar2.c
index a843f9d..4644ed5 100644
--- a/test/polystar2.c
+++ b/test/polystar2.c
@@ -112,7 +112,10 @@ int main(int argc, char **argv)
sides += 2;
nsfb_update(nsfb, &box);
- sleepMilli(400);
+
+ if (fetype != NSFB_SURFACE_RAM) {
+ sleepMilli(400);
+ }
}
/* wait for quit event or timeout */