Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vidjil
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,692
Issues
1,692
List
Boards
Labels
Service Desk
Milestones
Merge Requests
85
Merge Requests
85
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vidjil
vidjil
Commits
966f0597
Commit
966f0597
authored
Sep 28, 2016
by
Mathieu Giraud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests/Makefile: make snapshot_diff_current
parent
ddd48c77
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
Makefile
Makefile
+4
-1
algo/tests/Makefile
algo/tests/Makefile
+10
-1
No files found.
Makefile
View file @
966f0597
...
@@ -26,11 +26,14 @@ test:
...
@@ -26,11 +26,14 @@ test:
@
echo
@
echo
@
echo
"*** All tests passed. Congratulations !"
@
echo
"*** All tests passed. Congratulations !"
@
echo
@
echo
$(MAKE)
-C
algo/tests snapshot
$(MAKE)
-C
algo/tests snapshot
_success
snapshot_diff
:
snapshot_diff
:
$(MAKE)
-C
algo/tests snapshot_diff
$(MAKE)
-C
algo/tests snapshot_diff
snapshot_diff_current
:
$(MAKE)
-C
algo/tests snapshot_diff_current
test_browser
:
unit_browser functional_browser
test_browser
:
unit_browser functional_browser
...
...
algo/tests/Makefile
View file @
966f0597
...
@@ -25,6 +25,7 @@ SHOULD_VDJ_ARCHIVE:=$(filter-out $(addprefix should-vdj-tests/,$(EXCLUDE_SHOULD_
...
@@ -25,6 +25,7 @@ SHOULD_VDJ_ARCHIVE:=$(filter-out $(addprefix should-vdj-tests/,$(EXCLUDE_SHOULD_
DATE
=
$(
shell
date
+%Y-%m-%d--%H:%M:%S
)
DATE
=
$(
shell
date
+%Y-%m-%d--%H:%M:%S
)
SNAPSHOTS_DIR
=
./snapshots
SNAPSHOTS_DIR
=
./snapshots
SNAPSHOT
=
$(SNAPSHOTS_DIR)
/snapshot-log--
$(DATE)
SNAPSHOT
=
$(SNAPSHOTS_DIR)
/snapshot-log--
$(DATE)
SNAPSHOT_CURRENT
=
$(SNAPSHOT)
--current
.PHONY
:
all force clean forcedep
.PHONY
:
all force clean forcedep
...
@@ -40,14 +41,22 @@ all: core $(EXEC)
...
@@ -40,14 +41,22 @@ all: core $(EXEC)
snapshot
:
snapshot
:
mkdir
-p
$(SNAPSHOTS_DIR)
mkdir
-p
$(SNAPSHOTS_DIR)
grep
.
out-
*
.log should-get-tests/
*
.log should-vdj-tests/
*
.log
>
$(SNAPSHOT)
grep
--no-messages
.
out-
*
.log should-get-tests/
*
.log should-vdj-tests/
*
.log
>
$(SNAPSHOT)
snapshot_success
:
snapshot
touch
snapshot-last
;
mv
snapshot-last snapshot-prev
touch
snapshot-last
;
mv
snapshot-last snapshot-prev
ln
-s
$(SNAPSHOT)
snapshot-last
ln
-s
$(SNAPSHOT)
snapshot-last
make snapshot_diff | diffstat
-cC
make snapshot_diff | diffstat
-cC
# Diff between the two last succeeded snasphots
snapshot_diff
:
snapshot_diff
:
-
diff
-u
-I
".*20..-..-...*"
snapshot-prev snapshot-last
-
diff
-u
-I
".*20..-..-...*"
snapshot-prev snapshot-last
# Diff between the last succeeded snasphot and the (possibly failed) current snapshot
snapshot_diff_current
:
-
make snapshot
SNAPSHOT
=
"
$(SNAPSHOT_CURRENT)
"
-
diff
-u
-I
".*20..-..-...*"
snapshot-last
$(SNAPSHOT_CURRENT)
should
:
vidjil $(SHOULD_LOG)
should
:
vidjil $(SHOULD_LOG)
shouldvdj_if_python
:
shouldvdj_if_python
:
...
...
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