1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-29 16:43:20 +00:00

Try to fix some tests for CI.

This commit is contained in:
Calvin Rose 2019-07-27 11:05:53 -05:00
parent cc07ff987d
commit b0b1024f8a
3 changed files with 4 additions and 4 deletions

View File

@ -329,7 +329,7 @@ clean:
-rm -rf build vgcore.* callgrind.* -rm -rf build vgcore.* callgrind.*
test-install: test-install:
cd test/install && jpm --verbose clean && jpm --verbose build && jpm --verbose test \ cd test/install && rm -rf build .cache .manifests && jpm --verbose build && jpm --verbose test \
&& build/testexec && build/testexec
build/embed_janet.o: build/janet.c $(JANET_HEADERS) build/embed_janet.o: build/janet.c $(JANET_HEADERS)

View File

@ -304,8 +304,8 @@
(rule target objects (rule target objects
(print "linking " target "...") (print "linking " target "...")
(if is-win (if is-win
(shell ld ;lflags (string "/OUT:" target) ;objects (if standalone (libjanet) (win-import-library))) (shell ld ;lflags (string "/OUT:" target) (if standalone (libjanet) (win-import-library)) ;objects)
(shell ld ;cflags `-o` target ;objects ;lflags ;(if standalone [(libjanet)] []))))) (shell ld ;cflags `-o` target ;objects ;(if standalone [(libjanet)] []) ;lflags))))
(defn- archive-c (defn- archive-c
"Link object files together to make a static library." "Link object files together to make a static library."

View File

@ -8,5 +8,5 @@
(print ```#include "janet.h"```) (print ```#include "janet.h"```)
# Body # Body
(each path (tuple/slice process/args 2) (each path (tuple/slice (dyn :args) 1)
(print (slurp path))) (print (slurp path)))