Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
350 changes: 278 additions & 72 deletions .github/workflows/run_tests.yaml

Large diffs are not rendered by default.

663 changes: 663 additions & 0 deletions docs/plans/decimal128_enhancement.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/test_bigdecimal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
set -e

for f in tests/bigdecimal/*.mojo; do
pixi run mojo run -I src -D ASSERT=all --debug-level=line-tables "$f"
pixi run mojo run -I src -D ASSERT=all --debug-level=full "$f"
done
2 changes: 1 addition & 1 deletion tests/test_bigfloat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ trap cleanup EXIT
for f in tests/bigfloat/*.mojo; do
echo "=== $f ==="
TMPBIN=$(mktemp /tmp/decimo_test_bigfloat_XXXXXX)
pixi run mojo build -I src --debug-level=line-tables \
pixi run mojo build -I src --debug-level=full \
-Xlinker -L./"$WRAPPER_DIR" -Xlinker -ldecimo_gmp_wrapper \
-o "$TMPBIN" "$f"
DYLD_LIBRARY_PATH="./$WRAPPER_DIR" LD_LIBRARY_PATH="./$WRAPPER_DIR" "$TMPBIN"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_bigint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
set -e

for f in tests/bigint/*.mojo; do
pixi run mojo run -I src -D ASSERT=all --debug-level=line-tables "$f"
pixi run mojo run -I src -D ASSERT=all --debug-level=full "$f"
done
2 changes: 1 addition & 1 deletion tests/test_bigint10.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
set -e

for f in tests/bigint10/*.mojo; do
pixi run mojo run -I src -D ASSERT=all --debug-level=line-tables "$f"
pixi run mojo run -I src -D ASSERT=all --debug-level=full "$f"
done
2 changes: 1 addition & 1 deletion tests/test_biguint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
set -e

for f in tests/biguint/*.mojo; do
pixi run mojo run -I src -D ASSERT=all --debug-level=line-tables "$f"
pixi run mojo run -I src -D ASSERT=all --debug-level=full "$f"
done
2 changes: 1 addition & 1 deletion tests/test_cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e # Exit immediately if any command fails

# ── Unit tests ─────────────────────────────────────────────────────────────
for f in tests/cli/*.mojo; do
pixi run mojo run -I src -I src/cli -D ASSERT=all --debug-level=line-tables "$f"
pixi run mojo run -I src -I src/cli -D ASSERT=all --debug-level=full "$f"
done

# ── Integration tests (exercise the compiled binary) ───────────────────────
Expand Down
2 changes: 1 addition & 1 deletion tests/test_decimal128.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
set -e

for f in tests/decimal128/*.mojo; do
pixi run mojo run -I src -D ASSERT=all --debug-level=line-tables "$f"
pixi run mojo run -I src -D ASSERT=all --debug-level=full "$f"
done
2 changes: 1 addition & 1 deletion tests/test_toml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
set -e

for f in tests/toml/*.mojo; do
pixi run mojo run -I src -D ASSERT=all --debug-level=line-tables "$f"
pixi run mojo run -I src -D ASSERT=all --debug-level=full "$f"
done
Loading