diff --git a/test/plugin_test.go b/test/plugin_test.go index db8b969b9..28abbf59b 100644 --- a/test/plugin_test.go +++ b/test/plugin_test.go @@ -149,6 +149,10 @@ func currentDir() (string, error) { func (ts *PackerTestSuite) MakePluginDir(pluginVersions ...string) (pluginTempDir string, cleanup func()) { t := ts.T() + for _, ver := range pluginVersions { + BuildSimplePlugin(ver, t) + } + var err error defer func() {