Skip to content

Commit

Permalink
kill old python tests
Browse files Browse the repository at this point in the history
these were never used, kill a dependency

Signed-off-by: Kent Overstreet <[email protected]>
  • Loading branch information
Kent Overstreet committed Jul 16, 2024
1 parent 07913d1 commit 9020d20
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 811 deletions.
11 changes: 2 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,6 @@ all: bcachefs $(optional_build)
debug: CFLAGS+=-Werror -DCONFIG_BCACHEFS_DEBUG=y -DCONFIG_VALGRIND=y
debug: bcachefs

.PHONY: tests
tests: tests/test_helper

.PHONY: TAGS tags
TAGS:
ctags -e -R .
Expand All @@ -178,14 +175,10 @@ RUST_SRCS:=$(shell find src bch_bindgen/src -type f -iname '*.rs')
bcachefs: $(BCACHEFS_DEPS) $(RUST_SRCS)
$(Q)$(CARGO_BUILD)

libbcachefs.a: $(filter-out ./tests/%.o, $(OBJS))
libbcachefs.a: $(OBJS)
@echo " [AR] $@"
$(Q)$(AR) -rc $@ $+

tests/test_helper: $(filter ./tests/%.o, $(OBJS))
@echo " [LD] $@"
$(Q)$(CC) $(LDFLAGS) $+ $(LOADLIBES) $(LDLIBS) -o $@

# If the version string differs from the last build, update the last version
ifneq ($(VERSION),$(shell cat .version 2>/dev/null))
.PHONY: .version
Expand Down Expand Up @@ -225,7 +218,7 @@ install_systemd: $(systemd_services) $(systemd_libexecfiles)
.PHONY: clean
clean:
@echo "Cleaning all"
$(Q)$(RM) libbcachefs.a c_src/libbcachefs.a tests/test_helper .version *.tar.xz $(OBJS) $(DEPS) $(DOCGENERATED)
$(Q)$(RM) libbcachefs.a c_src/libbcachefs.a .version *.tar.xz $(OBJS) $(DEPS) $(DOCGENERATED)
$(Q)$(CARGO_CLEAN)
$(Q)$(RM) -f $(built_scripts)

Expand Down
1 change: 0 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Build-Depends: debhelper-compat (= 13),
python3:native,
pkgconf,
python3-docutils,
python3-pytest,
libaio-dev,
libfuse3-dev,
libblkid-dev,
Expand Down
Empty file removed tests/__init__.py
Empty file.
18 changes: 0 additions & 18 deletions tests/conftest.py

This file was deleted.

67 changes: 0 additions & 67 deletions tests/test_basic.py

This file was deleted.

74 changes: 0 additions & 74 deletions tests/test_fixture.py

This file was deleted.

Loading

0 comments on commit 9020d20

Please sign in to comment.