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
285a4d8e
Unverified
Commit
285a4d8e
authored
Jul 12, 2017
by
Jakub Sztandera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: add TEST_NO_PLUGIN and PLUGIN prereq
License: MIT Signed-off-by:
Jakub Sztandera
<
kubuxu@protonmail.ch
>
parent
7203c43b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
test/sharness/lib/test-lib.sh
test/sharness/lib/test-lib.sh
+3
-2
No files found.
test/sharness/lib/test-lib.sh
View file @
285a4d8e
...
...
@@ -40,12 +40,13 @@ SHARNESS_LIB="lib/sharness/sharness.sh"
# Please put go-ipfs specific shell functions below
TEST_OS
=
"
$(
uname
-s
|
tr
'[a-z]'
'[A-Z]'
)
"
# grab + output options
test
"
$TEST_NO_FUSE
"
!=
1
&&
test_set_prereq FUSE
test
"
$TEST_EXPENSIVE
"
=
1
&&
test_set_prereq EXPENSIVE
test
"
$TEST_NO_DOCKER
"
!=
1
&&
type
docker
>
/dev/null 2>&1
&&
test_set_prereq DOCKER
TEST_OS
=
$(
uname
-s
|
tr
[
a-z]
[
A-Z]
)
test
"
$TEST_NO_PLUGIN
"
!=
1
&&
test
"
$TEST_OS
"
=
"LINUX"
&&
test_set_prereq PLUGIN
# Set a prereq as error messages are often different on Windows/Cygwin
expr
"
$TEST_OS
"
:
"CYGWIN_NT"
>
/dev/null
||
test_set_prereq STD_ERR_MSG
...
...
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