summaryrefslogtreecommitdiffstats
path: root/tests/libdimension/prtree.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-02-28 16:28:21 -0500
committerTavian Barnes <tavianator@gmail.com>2011-03-08 21:43:18 -0500
commita2bf45329a172d2c53594c64d27f1c15ac26796a (patch)
tree93c6c3e7404e4abc605c410f978aefa3dd3231fa /tests/libdimension/prtree.c
parentf69c955c28b7e5c2eaf4af036cb88480a8e433f3 (diff)
downloaddimension-a2bf45329a172d2c53594c64d27f1c15ac26796a.tar.xz
New dmnsn_warning() API, remove different severities.
Diffstat (limited to 'tests/libdimension/prtree.c')
-rw-r--r--tests/libdimension/prtree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libdimension/prtree.c b/tests/libdimension/prtree.c
index aa7315b..ab6b78c 100644
--- a/tests/libdimension/prtree.c
+++ b/tests/libdimension/prtree.c
@@ -58,8 +58,8 @@ dmnsn_randomize_bounding_box(dmnsn_object *object)
int
main(void)
{
- /* Set the resilience low for tests */
- dmnsn_set_resilience(DMNSN_SEVERITY_LOW);
+ /* Treat warnings as errors for tests */
+ dmnsn_die_on_warnings(true);
const size_t nobjects = 128;
dmnsn_scene *scene = dmnsn_new_scene();