shithub: mc

Download patch

ref: 492c991bcb22a37377505fc97f8e976ef17bb9c1
parent: 16570e96dac87d60ed54aee8d3ff277923e36b5b
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Jul 23 16:00:28 EDT 2017

Preparing for the new mbld.

	It's a tad stricter about a couple of things.

--- a/lib/crypto/bld.sub
+++ b/lib/crypto/bld.sub
@@ -22,10 +22,15 @@
 ;;
 
 
-lib testutil =
+lib testutil {noinst} =
 	util.myr
+
+	lib ../std:std
+	lib ../sys:sys
+	lib ../thread:thread
 ;;
 
 testdeps =
 	testutil
+	../testr:testr
 ;;
--- a/lib/thread/bld.sub
+++ b/lib/thread/bld.sub
@@ -46,6 +46,10 @@
         lib ../std:std
 ;;
 
-lib testutil =
+lib testutil {noinst} =
 	util.myr
+
+        lib ../sys:sys
+        lib ../std:std
+        lib thread
 ;;
--- a/test/runtest.sh
+++ b/test/runtest.sh
@@ -11,8 +11,8 @@
 
 build() {
 	rm -f $1 $1.o $1.s $1.use
-	echo mbld -b $1 -C../6/6m -M../muse/muse -I../lib/std -I../lib/sys -r../rt/_myrrt.o $1.myr
-	../mbld/mbld -b $1 -C../6/6m -M../muse/muse -I../lib/std -I../lib/sys -r../rt/_myrrt.o $1.myr
+	echo mbld -b $1 -I../lib/std -I../lib/sys -r../rt/_myrrt.o $1.myr
+	../mbld/mbld -b $1 -I../lib/std -I../lib/sys -r../rt/_myrrt.o $1.myr
 }
 
 pass() {