We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ada0380 commit d875f72Copy full SHA for d875f72
2 files changed
langs/evildoer/build-runtime.rkt
@@ -0,0 +1,12 @@
1
+#lang racket
2
+(provide runtime-path)
3
+
4
+(require racket/runtime-path)
5
+(define-runtime-path here ".")
6
7
+(system (string-append "make -C "
8
+ (path->string (normalize-path here))
9
+ " runtime.o"))
10
11
+(define runtime-path
12
+ (normalize-path (build-path here "runtime.o")))
langs/evildoer/test/all.rkt
@@ -4,14 +4,13 @@
"../interp-io.rkt"
"../parse.rkt"
"../types.rkt"
+ "../build-runtime.rkt"
a86/interp
rackunit)
;; link with runtime for IO operations
-(unless (file-exists? "../runtime.o")
- (system "make -C .. runtime.o"))
13
(current-objs
14
- (list (path->string (normalize-path "../runtime.o"))))
+ (list (path->string runtime-path)))
15
16
(define (test-runner run)
17
;; Abscond examples
0 commit comments