stuffy 6502
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
# Build and run the D unit tests for the toolchain modules.
|
||||
# Usage: tests/run.sh
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
DMD="${DMD:-dmd}"
|
||||
OUT="build/wtests"
|
||||
|
||||
mkdir -p build
|
||||
|
||||
"$DMD" -unittest -main -Isrc -of"$OUT" \
|
||||
src/wcore/objfmt.d \
|
||||
src/emulator/cpu.d \
|
||||
src/emulator/bus.d \
|
||||
src/assembler/assembler.d \
|
||||
src/linker/linker.d
|
||||
|
||||
"$OUT"
|
||||
Reference in New Issue
Block a user