From 64f75adcf6cf44fafeea7e4d00d8d05d951931e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 9 Feb 2022 13:41:04 +0100 Subject: Add a new integration test framework I have had this living in a separate branch for now, but we need this in the main branch sooner rather than later. One big advantage of this is that integration tests can live in any package, not just hugolib. --- hugolib/site.go | 1 + 1 file changed, 1 insertion(+) (limited to 'hugolib/site.go') diff --git a/hugolib/site.go b/hugolib/site.go index 13d5482b1..02380a6e7 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -1719,6 +1719,7 @@ func (s *Site) renderAndWriteXML(statCounter *uint64, name string, targetPath st func (s *Site) renderAndWritePage(statCounter *uint64, name string, targetPath string, p *pageState, templ tpl.Template) error { s.Log.Debugf("Render %s to %q", name, targetPath) + s.h.IncrPageRender() renderBuffer := bp.GetBuffer() defer bp.PutBuffer(renderBuffer) -- cgit v1.2.3