diff --git a/make/emulator.mk b/make/emulator.mk index 793ec80bf..14499090a 100644 --- a/make/emulator.mk +++ b/make/emulator.mk @@ -47,7 +47,7 @@ coverage: coverage-summary coverage-run: all test-data $(INSTALL_DIR)/koreader/.luacov rm -f $(addprefix $(INSTALL_DIR)/koreader/,$(COVERAGE_STATS) $(COVERAGE_REPORT)) # Run tests. - $(RUNTESTS) $(INSTALL_DIR)/koreader front --coverage $(if $(filter undefined,$(flavor T)),--tags=!nocov,$T) + $(RUNTESTS) $(INSTALL_DIR)/koreader front --coverage $T # Aggregate statistics. cd $(INSTALL_DIR)/koreader && \ eval "$$($(LUAROCKS_BINARY) path)" && \ diff --git a/spec/unit/batterystat_spec.lua b/spec/unit/batterystat_spec.lua index 4e9e355e1..a2b70c774 100644 --- a/spec/unit/batterystat_spec.lua +++ b/spec/unit/batterystat_spec.lua @@ -1,4 +1,4 @@ -describe("BatteryState plugin tests #nocov", function() +describe("BatteryState plugin tests", function() local MockTime, module, time local stat = function() --luacheck: ignore diff --git a/spec/unit/opds_spec.lua b/spec/unit/opds_spec.lua index f2895ec1a..cb312e77b 100644 --- a/spec/unit/opds_spec.lua +++ b/spec/unit/opds_spec.lua @@ -257,7 +257,7 @@ local facet_sample = [[ ]] -describe("OPDS module #nocov", function() +describe("OPDS module", function() local socketutil local OPDSParser, OPDSBrowser local orig_path, orig_lbt, orig_ltt, orig_fbt, orig_ftt diff --git a/spec/unit/readerhighlight_spec.lua b/spec/unit/readerhighlight_spec.lua index e96e61d44..503a62d99 100644 --- a/spec/unit/readerhighlight_spec.lua +++ b/spec/unit/readerhighlight_spec.lua @@ -157,7 +157,7 @@ describe("Readerhighlight module", function() readerui.highlight:clear() readerui.annotation.annotations = {} end) - it("should response on tap gesture #nocov", function() + it("should response on tap gesture", function() tap_highlight_text(readerui, Geom:new{ x = 260, y = 70 }, Geom:new{ x = 260, y = 150 }, @@ -185,7 +185,7 @@ describe("Readerhighlight module", function() readerui.highlight:clear() readerui.annotation.annotations = {} end) - it("should respond to tap gesture #nocov", function() + it("should respond to tap gesture", function() tap_highlight_text(readerui, Geom:new{ x = 260, y = 70 }, Geom:new{ x = 260, y = 150 }, Geom:new{ x = 280, y = 110 }) screenshot("reader_tap_highlight_text_pdf_scanned.png") end) @@ -215,7 +215,7 @@ describe("Readerhighlight module", function() -- We haven't torn it down yet ReaderUI.instance = readerui end) - it("should response on tap gesture #nocov", function() + it("should response on tap gesture", function() tap_highlight_text(readerui, Geom:new{ x = 260, y = 70 }, Geom:new{ x = 260, y = 150 }, Geom:new{ x = 280, y = 110 }) screenshot("reader_tap_highlight_text_pdf_reflowed.png") end) diff --git a/spec/unit/readerlink_spec.lua b/spec/unit/readerlink_spec.lua index be1bc5388..56ccc21a6 100644 --- a/spec/unit/readerlink_spec.lua +++ b/spec/unit/readerlink_spec.lua @@ -39,13 +39,13 @@ describe("ReaderLink module", function() } end) - it("should jump to links #nocov", function() + it("should jump to links", function() readerui.rolling:onGotoPage(5) readerui.link:onTap(nil, {pos = {x = 320, y = 190}}) assert.is.same(37, readerui.rolling.current_page) end) - it("should be able to go back after link jump #nocov", function() + it("should be able to go back after link jump", function() readerui.rolling:onGotoPage(5) readerui.link:onTap(nil, {pos = {x = 320, y = 190}}) assert.is.same(37, readerui.rolling.current_page)