Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Chenhao Ma
core
Commits
52966313
Commit
52966313
authored
9 years ago
by
Gunnar Schaefer
Browse files
Options
Downloads
Plain Diff
Merge pull request #68 from scitran/fix-scripts
Tweak bash scripts
parents
f8bf84fa
5038ef6f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/bootstrap_test_db.sh
+9
-2
9 additions, 2 deletions
test/bootstrap_test_db.sh
test/runtests.sh
+9
-2
9 additions, 2 deletions
test/runtests.sh
with
18 additions
and
4 deletions
test/bootstrap_test_db.sh
+
9
−
2
View file @
52966313
#!/bin/sh
#!/usr/bin/env bash
set
-e
if
[
-z
"
$1
"
]
then
...
...
@@ -6,4 +7,10 @@ if [ -z "$1" ]
exit
1
fi
../../../live.sh cmd
PYTHONPATH
=
code/api:code/data code/api/bin/bootstrap.py
users
-f
mongodb://localhost:9001/scitran code/api/test/test_bootstrap.json
$1
\ No newline at end of file
(
# Set cwd
unset
CDPATH
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
../../../live.sh cmd
PYTHONPATH
=
code/api:code/data code/api/bin/bootstrap.py
users
-f
mongodb://localhost:9001/scitran code/api/test/test_bootstrap.json
$1
)
This diff is collapsed.
Click to expand it.
test/runtests.sh
+
9
−
2
View file @
52966313
#!/bin/sh
#!/usr/bin/env bash
set
-e
../../../live.sh cmd
PYTHONPATH
=
code/api:code/data nosetests
-vv
--exe
--collect-only
code/api/test/
$1
\ No newline at end of file
(
# Set cwd
unset
CDPATH
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
../../../live.sh cmd
PYTHONPATH
=
code/api:code/data nosetests
-vv
--exe
--collect-only
code/api/test/
$1
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment