Skip to content

Commit

Permalink
TEST: change modules directory to the test folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed May 16, 2024
1 parent 546350e commit 8096da8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
7 changes: 6 additions & 1 deletion test/examples.r3
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 5 additions & 3 deletions test/test.r3
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8096da8

Please sign in to comment.