이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
lain.church
도움말
가입하기
로그인
izaya
/
collapseos
의 미러
https://github.com/hsoft/collapseos.git
보기
1
좋아요
1
포크
0
코드
이슈
0
릴리즈
0
위키
활동
소스 검색
tests: run "generic" tests under all Collapse OS architectures
There's no reason to run them only under CVM.
master
Virgil Dupras
3 년 전
부모
ae62e291e6
커밋
c072096909
5개의 변경된 파일
과
11개의 추가작업
그리고
9개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-6
tests/Makefile
+8
-3
tests/all/runtests.sh
+0
-0
tests/all/test_ari.fs
+0
-0
tests/all/test_cmp.fs
+0
-0
tests/all/test_parse.fs
+ 3
- 6
tests/Makefile
파일 보기
@@ -1,9 +1,6 @@
CDIR = ../cvm
EDIR = ../emul
.PHONY: run
run:
$(MAKE) -C
$(CDIR)
all
$(MAKE) -C
$(EDIR)
all
cd
cvm
&& ./runtests.sh
$(MAKE) -C ../cvm all
$(MAKE) -C
../emul
all
cd
all
&& ./runtests.sh
cd z80 && ./runtests.sh
tests/cvm/runtests.sh → tests/all/runtests.sh
파일 보기
@@ -1,13 +1,18 @@
#!/bin/sh -e
BASE=../..
EXEC="${BASE}/cvm/forth"
CVM="${BASE}/cvm/forth"
Z80="${BASE}/emul/forth"
TMP=$(mktemp)
chk() {
echo "Running test $1"
cat ../harness.fs $1 > ${TMP}
if ! ${EXEC} ${TMP}; then
echo "Running test $1 under CVM"
if ! ${CVM} ${TMP}; then
exit 1
fi
echo "Running test $1 under Z80"
if ! ${Z80} ${TMP}; then
exit 1
fi
}
tests/cvm/test_ari.fs → tests/all/test_ari.fs
파일 보기
tests/cvm/test_cmp.fs → tests/all/test_cmp.fs
파일 보기
tests/cvm/test_parse.fs → tests/all/test_parse.fs
파일 보기
쓰기
미리보기
불러오는 중...
취소
저장