Skip to content

Commit 7b7ffd5

Browse files
committed
one-off temporary commit to see if we can get some info from lldb...?
1 parent 0b31432 commit 7b7ffd5

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
run: ./autogen.sh
5454

5555
- name: Configure
56-
run: ./configure
56+
run: ./configure --enable-debug
5757

5858
- name: Build
5959
run: make ${{ github.event.inputs.make_flags }}

tests/shell-test.sh

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,8 @@ for input in $@; do
5555
mkdir -p tmp
5656

5757
# Generate actual output
58-
${SRCDIR}/asdf ${SUBCOMMAND} ${EXTRA_ARGS} "$input" > "$actual"
58+
env DYLD_LIBRARY_PATH=../.libs lldb --batch --one-line -o "break set --name abort" --one-line "run ${SUBCOMMAND} ${EXTRA_ARGS} \"$input\"" --one-line "bt" --one-line "quit" -- ../.libs/asdf
5959

60-
if [ "$UPDATE" -eq 1 ]; then
61-
cp "$actual" "$expected"
62-
echo "🔄 Updated: $expected"
63-
else
64-
if ! diff -u "$expected" "$actual"; then
65-
echo "❌ Test failed: $base"
66-
fail=1
67-
else
68-
echo "✅ Test passed: $base"
69-
fi
70-
fi
7160
done
7261

7362
exit $fail

0 commit comments

Comments
 (0)