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.*
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/embed_janet.o: build/janet.c $(JANET_HEADERS)

View File

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

View File

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