Tests: Update rebaseline-libweb-test script with new paths

This commit is contained in:
Andreas Kling 2024-06-14 16:28:32 +02:00
parent 60a05ef414
commit c14369e2e3
Notes: sideshowbarker 2024-07-17 08:13:43 +09:00

View file

@ -15,6 +15,6 @@ fi
input_dir=$(dirname $t)
expected_dir=$(echo $input_dir | sed s/input/expected/)
test_name=$(basename $t .html)
cd $LADYBIRD_SOURCE_DIR/Build/lagom
cd $LADYBIRD_SOURCE_DIR/Build/ladybird
mkdir -p $expected_dir
./bin/headless-browser -r $LADYBIRD_SOURCE_DIR/Build/lagom/share/Lagom $mode_flag --layout-test-mode $input_dir/$test_name.html > $expected_dir/$test_name.txt
./bin/headless-browser $mode_flag --layout-test-mode $input_dir/$test_name.html > $expected_dir/$test_name.txt