Skip to content

Commit

Permalink
Ensure we use the correct reduced onelua.c file.
Browse files Browse the repository at this point in the history
cvise puts the candidate reduced file in a temp dir and then it's up to
you to test it. We were copying in the source tree, but without
installing the candidate onelua.c file, so this wasn't doing what we
thought it was.
  • Loading branch information
vext01 committed Jun 7, 2024
1 parent fcb6980 commit c3a0bd4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions creduce/cvise.example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ if ! command -v yk-config 2>&1 ; then
exit 1
fi

# Rebuild with the reduced onelua.c in-place.
#
# Note that it's not enough to just copy onelua.c and `Makefile` in. The whole
# `src` dir is needed.
cp -r "${YKLUA_HOME}/creduce/src" ./
cp onelua.c src/
cd ./src

make onelua
Expand Down

0 comments on commit c3a0bd4

Please sign in to comment.