Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
b479602b
Commit
b479602b
authored
Jan 07, 2015
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved epictest -> test/epictest
parent
cecfa457
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
3 additions
and
2 deletions
+3
-2
test/epictest/Makefile
test/epictest/Makefile
+3
-2
test/epictest/addcat_test.go
test/epictest/addcat_test.go
+0
-0
test/epictest/bench_test.go
test/epictest/bench_test.go
+0
-0
test/epictest/core.go
test/epictest/core.go
+0
-0
test/epictest/test_config.go
test/epictest/test_config.go
+0
-0
test/epictest/three_legged_cat_test.go
test/epictest/three_legged_cat_test.go
+0
-0
test/epictest/unit.go
test/epictest/unit.go
+0
-0
test/epictest/unit_test.go
test/epictest/unit_test.go
+0
-0
No files found.
epictest/Makefile
→
test/
epictest/Makefile
View file @
b479602b
# This Makefile provides a way to really simple way to run benchmarks in a
# docker environment.
IPFS_ROOT
=
../..
IMAGE
=
jbenet/go-ipfs-bench
CONTAINER
=
go-ipfs-bench
PACKAGE
=
epictest
PACKAGE_DIR
=
epictest
PACKAGE_DIR
=
test
/
epictest
BUILD_DIR
=
./build/bench
CONTAINER_WORKING_DIR
=
/go
CPU_PROF_NAME
=
cpu.out
...
...
@@ -18,7 +19,7 @@ cp_pprof_from_container:
docker
cp
$(CONTAINER)
:
$(CONTAINER_WORKING_DIR)
/
$(PACKAGE)
.test
$(BUILD_DIR)
build_image
:
cd
..
&&
docker build
-t
$(IMAGE)
.
cd
$(IPFS_ROOT)
&&
docker build
-t
$(IMAGE)
.
run_profiler
:
docker run
--name
$(CONTAINER)
-it
--entrypoint
go
$(IMAGE)
test
./src/github.com/jbenet/go-ipfs/
$(PACKAGE_DIR)
--cpuprofile
=
$(CPU_PROF_NAME)
...
...
epictest/addcat_test.go
→
test/
epictest/addcat_test.go
View file @
b479602b
File moved
epictest/bench_test.go
→
test/
epictest/bench_test.go
View file @
b479602b
File moved
epictest/core.go
→
test/
epictest/core.go
View file @
b479602b
File moved
epictest/test_config.go
→
test/
epictest/test_config.go
View file @
b479602b
File moved
epictest/three_legged_cat_test.go
→
test/
epictest/three_legged_cat_test.go
View file @
b479602b
File moved
epictest/unit.go
→
test/
epictest/unit.go
View file @
b479602b
File moved
epictest/unit_test.go
→
test/
epictest/unit_test.go
View file @
b479602b
File moved
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