Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
0e1fd516
Commit
0e1fd516
authored
May 26, 2015
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add testacc to Makefile
parent
485825fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
Makefile
Makefile
+14
-1
No files found.
Makefile
View file @
0e1fd516
...
...
@@ -10,10 +10,23 @@ bin:
dev
:
@
TF_DEV
=
1 sh
-c
"
$(CURDIR)
/scripts/build.sh"
# generate runs `go generate` to build the dynamically generated
# source files.
generate
:
go generate ./...
test
:
go
test
$(TEST)
$(TESTARGS)
-timeout
=
10s
@
$(MAKE)
vet
# testacc runs acceptance tests
testacc
:
generate
@
if
[
"
$(TEST)
"
=
"./..."
]
;
then
\
echo
"ERROR: Set TEST to a specific package"
;
\
exit
1
;
\
fi
PACKER_ACC
=
1 go
test
$(TEST)
-v
$(TESTARGS)
-timeout
45m
testrace
:
go
test
-race
$(TEST)
$(TESTARGS)
...
...
@@ -30,4 +43,4 @@ vet:
echo
"and fix them if necessary before submitting the code for reviewal."
;
\
fi
.PHONY
:
bin default
test
updatedeps vet
.PHONY
:
bin default
generate test testacc
updatedeps vet
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment