Skip to content

Commit 06c9410

Browse files
committedDec 4, 2021
Updated from internal repo. Primarily worked on bootstrap, and added a -t flag to run all unit tests associated with files compiled into an executable.
1 parent fcd5ab4 commit 06c9410

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+926
-190
lines changed
 

‎Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,14 @@ LLVM.ps: llvm/LLVM.dd
117117
dataview llvm/LLVM.dd
118118

119119
install: rune
120-
install -d $(PREFIX)/bin $(PREFIX)/lib/rune
120+
install -d $(PREFIX)/bin $(PREFIX)/lib/rune $(PREFIX)/lib/rune/runtime
121121
install rune $(PREFIX)/bin
122122
install lib/libcttk.a $(PREFIX)/lib/rune
123123
install lib/librune.a $(PREFIX)/lib/rune
124124
cp -r builtin $(PREFIX)/lib/rune
125125
cp -r math $(PREFIX)/lib/rune
126126
cp -r io $(PREFIX)/lib/rune
127+
install runtime/package.rn $(PREFIX)/lib/rune/runtime
127128

128129
clean:
129130
rm -rf obj lib rune */*database.[ch] *.ps parse/descan.c parse/deparse.[ch] rune.log tests/*.ll tests/*.result crypto_class/*.ll crypto_class/*.result errortests/*.ll

‎bootstrap/database/Makefile

+12-5
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,22 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
runtests: exprTest bigint
16-
./exprTest
15+
runtests: bigint expr value statement
16+
./expr
1717
./bigint
18+
./value
1819

19-
exprTest: exprTest.rn expr.rn
20-
rune -g exprTest.rn
20+
expr: expr.rn
21+
rune -g expr.rn
2122

2223
bigint: bigint.rn
2324
rune -g bigint.rn
2425

26+
value: value.rn
27+
rune -g value.rn
28+
29+
statement: statement.rn
30+
rune -g statement.rn
31+
2532
clean:
26-
rm -f bigint exprTest *.ll rune.log
33+
rm -f bigint expr value statement *.ll rune.log

0 commit comments

Comments
 (0)