diff --git a/test/examples.r3 b/test/examples.r3 index d0af6be..7a50976 100644 --- a/test/examples.r3 +++ b/test/examples.r3 @@ -1,12 +1,17 @@ Rebol [ title: "Basic Blend2D extension usage examples" ] + +CI?: "true" = get-env "CI" +;; for the CI test the module is in current directory +if CI? [system/options/modules: what-dir] + system/modules/blend2d: none ;; make sure that we use the local one b2d: import 'blend2d print b2d/info ;about -CI?: "true" = get-env "CI" + ;recycle/torture ;- assets start diff --git a/test/test.r3 b/test/test.r3 index 72ea2d3..36b6e49 100644 --- a/test/test.r3 +++ b/test/test.r3 @@ -2,10 +2,12 @@ Rebol [ title: "Basic Blend2D extension test" ] -system/modules/blend2d: none -b2d: import 'blend2d - CI?: "true" = get-env "CI" +;; for the CI test the module is in current directory +if CI? [system/options/modules: what-dir] + +system/modules/blend2d: none ;; make sure that we use the local one +b2d: import 'blend2d unless function? :view [view: none] ;= for systems without view