summaryrefslogtreecommitdiff
path: root/test/polystar.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/polystar.c
parent87feda1b7f43c6402c760926bbbb67175cde319c (diff)
downloadlibnsfb-068f78a6fc5df0f99ea0077cf795959ba4699d73.tar.gz
Tests: Don't sleep when using the mem backend.
Diffstat (limited to 'test/polystar.c')
-rw-r--r--test/polystar.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/polystar.c b/test/polystar.c
index 136b6aa..a9ac11c 100644
--- a/test/polystar.c
+++ b/test/polystar.c
@@ -118,7 +118,10 @@ int main(int argc, char **argv)
}
nsfb_update(nsfb, &box);
- sleepMilli(100);
+
+ if (fetype != NSFB_SURFACE_RAM) {
+ sleepMilli(400);
+ }
}
/* wait for quit event or timeout */