mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
Move the test harnesses into test/.
This is preparation for removing the `servo-` prefixes from the various Servo components.
This commit is contained in:
parent
729a5ff441
commit
c658c6dea9
71 changed files with 4 additions and 4 deletions
2
configure
vendored
2
configure
vendored
|
@ -452,7 +452,7 @@ done
|
|||
make_dir ${CFG_BUILD_DIR}src/components/servo-util
|
||||
make_dir ${CFG_BUILD_DIR}src/components/servo-net
|
||||
make_dir ${CFG_BUILD_DIR}src/components/servo-gfx
|
||||
make_dir src/test/ref
|
||||
make_dir src/test/html/ref
|
||||
make_dir src/compiler/rust
|
||||
|
||||
# TODO: don't run configure on submodules unless necessary. For an example,
|
||||
|
|
|
@ -20,10 +20,10 @@ $(eval $(call DEF_SUBMODULE_TEST_RULES,$(submodule))))
|
|||
servo-test: $(DEPS_servo)
|
||||
$(RUSTC) $(RFLAGS_servo) --test -o $@ $<
|
||||
|
||||
reftest: $(S)src/reftest/reftest.rs servo
|
||||
reftest: $(S)src/test/harness/reftest/reftest.rs servo
|
||||
$(RUSTC) $(RFLAGS_servo) -o $@ $< -L .
|
||||
|
||||
contenttest: $(S)src/contenttest/contenttest.rs servo
|
||||
contenttest: $(S)src/test/harness/contenttest/contenttest.rs servo
|
||||
$(RUSTC) $(RFLAGS_servo) -o $@ $< -L .
|
||||
|
||||
DEPS_CHECK_TARGETS_ALL = $(addprefix check-,$(DEPS_CHECK_ALL))
|
||||
|
@ -39,7 +39,7 @@ check-servo: servo-test
|
|||
./servo-test $(TESTNAME)
|
||||
|
||||
check-ref: reftest
|
||||
./reftest --source-dir=$(S)/src/test/ref --work-dir=src/test/ref $(TESTNAME)
|
||||
./reftest --source-dir=$(S)/src/test/html/ref --work-dir=src/test/html/ref $(TESTNAME)
|
||||
|
||||
check-content: contenttest
|
||||
./contenttest --source-dir=$(S)/src/test/content $(TESTNAME)
|
||||
|
|
Before Width: | Height: | Size: 4 KiB After Width: | Height: | Size: 4 KiB |
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 86 KiB |
Loading…
Add table
Add a link
Reference in a new issue