소스 검색

Move "tests" folder to root

pull/85/head
Virgil Dupras 4 년 전
부모
커밋
c5c6ef4c6c
58개의 변경된 파일20개의 추가작업 그리고 26개의 파일을 삭제
  1. +1
    -2
      README.md
  2. +4
    -10
      runtests.sh
  3. +3
    -3
      tests/Makefile
  4. +0
    -0
      tests/README.md
  5. +0
    -0
      tests/avra/blink_tn45.asm
  6. +0
    -0
      tests/avra/blink_tn45.expected
  7. +2
    -2
      tests/avra/runtests.sh
  8. +0
    -0
      tests/avra/seg7multiplex.asm
  9. +0
    -0
      tests/avra/seg7multiplex.expected
  10. +0
    -0
      tests/avra/test1.asm
  11. +0
    -0
      tests/avra/test1.expected
  12. +0
    -0
      tests/avra/testldst.asm
  13. +0
    -0
      tests/avra/testldst.expected
  14. +0
    -0
      tests/shell/cfsin/bar
  15. +0
    -0
      tests/shell/cfsin/foo
  16. +0
    -0
      tests/shell/fls.expected
  17. +0
    -0
      tests/shell/fls.replay
  18. +0
    -0
      tests/shell/print.expected
  19. +0
    -0
      tests/shell/print.replay
  20. +2
    -2
      tests/shell/runtests.sh
  21. +0
    -0
      tests/shell/test.cfs
  22. +0
    -0
      tests/unit/common.asm
  23. +2
    -2
      tests/unit/runtests.sh
  24. +0
    -0
      tests/unit/test_basic_parse.asm
  25. +0
    -0
      tests/unit/test_core.asm
  26. +0
    -0
      tests/unit/test_ed_util.asm
  27. +0
    -0
      tests/unit/test_expr.asm
  28. +0
    -0
      tests/unit/test_lib_ari.asm
  29. +0
    -0
      tests/unit/test_lib_fmt.asm
  30. +0
    -0
      tests/unit/test_lib_parse.asm
  31. +0
    -0
      tests/unit/test_symbol.asm
  32. +0
    -0
      tests/unit/test_util_z.asm
  33. +0
    -0
      tests/unit/test_z_instr.asm
  34. +0
    -0
      tests/zasm/allinstrs.asm
  35. +0
    -0
      tests/zasm/allinstrs.asm.expected
  36. +1
    -1
      tests/zasm/errtests.sh
  37. +0
    -0
      tests/zasm/geninstrs.py
  38. +5
    -4
      tests/zasm/runtests.sh
  39. +0
    -0
      tests/zasm/test1.asm
  40. +0
    -0
      tests/zasm/test1.asm.expected
  41. +0
    -0
      tests/zasm/test10.asm
  42. +0
    -0
      tests/zasm/test10.asm.expected
  43. +0
    -0
      tests/zasm/test2.asm
  44. +0
    -0
      tests/zasm/test2.asm.expected
  45. +0
    -0
      tests/zasm/test3.asm
  46. +0
    -0
      tests/zasm/test3.asm.expected
  47. +0
    -0
      tests/zasm/test4.asm
  48. +0
    -0
      tests/zasm/test4.asm.expected
  49. +0
    -0
      tests/zasm/test5.asm
  50. +0
    -0
      tests/zasm/test5.asm.expected
  51. +0
    -0
      tests/zasm/test6.asm
  52. +0
    -0
      tests/zasm/test6.asm.expected
  53. +0
    -0
      tests/zasm/test7.asm
  54. +0
    -0
      tests/zasm/test7.asm.expected
  55. +0
    -0
      tests/zasm/test8.asm
  56. +0
    -0
      tests/zasm/test8.asm.expected
  57. +0
    -0
      tests/zasm/test9.asm
  58. +0
    -0
      tests/zasm/test9.asm.expected

+ 1
- 2
README.md 파일 보기

@@ -37,8 +37,7 @@ path to giving Collapse OS a try.
* `tools`: Tools for working with Collapse OS from "modern" environments. Mostly
development tools, but also contains emulated zasm, which is
necessary to build Collapse OS from a non-Collapse OS machine.

Each folder has a README with more details.
* `tests`: Automated test suite for the whole project.

## Status



+ 4
- 10
runtests.sh 파일 보기

@@ -4,15 +4,9 @@ git submodule init
git submodule update
git clean -fxd

cd tools/emul
make

cd ../tests
make
make -C tools/emul
make -C tests

# let's try again with an updated zasm
cd ../emul
make updatebootstrap all

cd ../tests
make
make -C tools/emul updatebootstrap all
make -C tests

tools/tests/Makefile → tests/Makefile 파일 보기

@@ -1,5 +1,5 @@
EMULDIR = ../emul
CFSPACK = ../cfspack/cfspack
EMULDIR = ../tools/emul
CFSPACK = ../tools/cfspack/cfspack

.PHONY: run
run:
@@ -10,7 +10,7 @@ run:
cd shell && ./runtests.sh

$(CFSPACK):
$(MAKE) -C ../cfspack
$(MAKE) -C ../tools/cfspack

.PHONY: cfs
cfs: $(CFSPACK)

tools/tests/README.md → tests/README.md 파일 보기


tools/tests/avra/blink_tn45.asm → tests/avra/blink_tn45.asm 파일 보기


tools/tests/avra/blink_tn45.expected → tests/avra/blink_tn45.expected 파일 보기


tools/tests/avra/runtests.sh → tests/avra/runtests.sh 파일 보기

@@ -1,7 +1,7 @@
#!/bin/sh -e

ZASM=../../zasm.sh
AVRINC=../../../avr
ZASM=../../tools/zasm.sh
AVRINC=../../avr

cmpas() {
FN=$1

tools/tests/avra/seg7multiplex.asm → tests/avra/seg7multiplex.asm 파일 보기


tools/tests/avra/seg7multiplex.expected → tests/avra/seg7multiplex.expected 파일 보기


tools/tests/avra/test1.asm → tests/avra/test1.asm 파일 보기


tools/tests/avra/test1.expected → tests/avra/test1.expected 파일 보기


tools/tests/avra/testldst.asm → tests/avra/testldst.asm 파일 보기


tools/tests/avra/testldst.expected → tests/avra/testldst.expected 파일 보기


tools/tests/shell/cfsin/bar → tests/shell/cfsin/bar 파일 보기


tools/tests/shell/cfsin/foo → tests/shell/cfsin/foo 파일 보기


tools/tests/shell/fls.expected → tests/shell/fls.expected 파일 보기


tools/tests/shell/fls.replay → tests/shell/fls.replay 파일 보기


tools/tests/shell/print.expected → tests/shell/print.expected 파일 보기


tools/tests/shell/print.replay → tests/shell/print.replay 파일 보기


tools/tests/shell/runtests.sh → tests/shell/runtests.sh 파일 보기

@@ -1,7 +1,7 @@
#!/bin/sh -e

EMULDIR=../../emul
SHELL=../../emul/shell/shell
EMULDIR=../../tools/emul
SHELL="${EMULDIR}/shell/shell"

replay() {
fn=$1

tools/tests/shell/test.cfs → tests/shell/test.cfs 파일 보기


tools/tests/unit/common.asm → tests/unit/common.asm 파일 보기


tools/tests/unit/runtests.sh → tests/unit/runtests.sh 파일 보기

@@ -2,8 +2,8 @@
set -e
# TODO: find POSIX substitute to that PIPESTATUS thing

BASE=../../..
TOOLS=../..
BASE=../..
TOOLS="${BASE}/tools"
ZASM="${TOOLS}/zasm.sh"
RUNBIN="${TOOLS}/emul/runbin/runbin"
KERNEL="${BASE}/kernel"

tools/tests/unit/test_basic_parse.asm → tests/unit/test_basic_parse.asm 파일 보기


tools/tests/unit/test_core.asm → tests/unit/test_core.asm 파일 보기


tools/tests/unit/test_ed_util.asm → tests/unit/test_ed_util.asm 파일 보기


tools/tests/unit/test_expr.asm → tests/unit/test_expr.asm 파일 보기


tools/tests/unit/test_lib_ari.asm → tests/unit/test_lib_ari.asm 파일 보기


tools/tests/unit/test_lib_fmt.asm → tests/unit/test_lib_fmt.asm 파일 보기


tools/tests/unit/test_lib_parse.asm → tests/unit/test_lib_parse.asm 파일 보기


tools/tests/unit/test_symbol.asm → tests/unit/test_symbol.asm 파일 보기


tools/tests/unit/test_util_z.asm → tests/unit/test_util_z.asm 파일 보기


tools/tests/unit/test_z_instr.asm → tests/unit/test_z_instr.asm 파일 보기


tools/tests/zasm/allinstrs.asm → tests/zasm/allinstrs.asm 파일 보기


tools/tests/zasm/allinstrs.asm.expected → tests/zasm/allinstrs.asm.expected 파일 보기


tools/tests/zasm/errtests.sh → tests/zasm/errtests.sh 파일 보기

@@ -2,7 +2,7 @@

# no "set -e" because we test errors

ZASM=../../zasm.sh
ZASM=../../tools/zasm.sh

chkerr() {
echo "Check that '$1' results in error $2"

tools/tests/zasm/geninstrs.py → tests/zasm/geninstrs.py 파일 보기


tools/tests/zasm/runtests.sh → tests/zasm/runtests.sh 파일 보기

@@ -1,9 +1,10 @@
#!/bin/sh -e

KERNEL=../../../kernel
APPS=../../../apps
ZASM=../../zasm.sh
ASMFILE=${APPS}/zasm/instr.asm
BASE=../..
KERNEL="${BASE}/kernel"
APPS="${BASE}/apps"
ZASM="${BASE}/tools/zasm.sh"
ASMFILE="${APPS}/zasm/instr.asm"

cmpas() {
FN=$1

tools/tests/zasm/test1.asm → tests/zasm/test1.asm 파일 보기


tools/tests/zasm/test1.asm.expected → tests/zasm/test1.asm.expected 파일 보기


tools/tests/zasm/test10.asm → tests/zasm/test10.asm 파일 보기


tools/tests/zasm/test10.asm.expected → tests/zasm/test10.asm.expected 파일 보기


tools/tests/zasm/test2.asm → tests/zasm/test2.asm 파일 보기


tools/tests/zasm/test2.asm.expected → tests/zasm/test2.asm.expected 파일 보기


tools/tests/zasm/test3.asm → tests/zasm/test3.asm 파일 보기


tools/tests/zasm/test3.asm.expected → tests/zasm/test3.asm.expected 파일 보기


tools/tests/zasm/test4.asm → tests/zasm/test4.asm 파일 보기


tools/tests/zasm/test4.asm.expected → tests/zasm/test4.asm.expected 파일 보기


tools/tests/zasm/test5.asm → tests/zasm/test5.asm 파일 보기


tools/tests/zasm/test5.asm.expected → tests/zasm/test5.asm.expected 파일 보기


tools/tests/zasm/test6.asm → tests/zasm/test6.asm 파일 보기


tools/tests/zasm/test6.asm.expected → tests/zasm/test6.asm.expected 파일 보기


tools/tests/zasm/test7.asm → tests/zasm/test7.asm 파일 보기


tools/tests/zasm/test7.asm.expected → tests/zasm/test7.asm.expected 파일 보기


tools/tests/zasm/test8.asm → tests/zasm/test8.asm 파일 보기


tools/tests/zasm/test8.asm.expected → tests/zasm/test8.asm.expected 파일 보기


tools/tests/zasm/test9.asm → tests/zasm/test9.asm 파일 보기


tools/tests/zasm/test9.asm.expected → tests/zasm/test9.asm.expected 파일 보기


불러오는 중...
취소
저장