Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
754bd4be
Commit
754bd4be
authored
9 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Tell git to ignore the output of the parser test.
parent
5c7ae702
No related branches found
No related tags found
1 merge request
!140
First version of main() using a parameter file to get constants.
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
tests/testParser.c
+1
-1
1 addition, 1 deletion
tests/testParser.c
tests/testParser.sh
+1
-0
1 addition, 0 deletions
tests/testParser.sh
with
3 additions
and
1 deletion
.gitignore
+
1
−
0
View file @
754bd4be
...
...
@@ -43,6 +43,7 @@ tests/testTimeIntegration
tests/testSPHStep
tests/testKernel
tests/testParser
tests/parser_output.yml
theory/latex/swift.pdf
theory/kernel/kernels.pdf
...
...
This diff is collapsed.
Click to expand it.
tests/testParser.c
+
1
−
1
View file @
754bd4be
...
...
@@ -36,7 +36,7 @@ int main(int argc, char *argv[]) {
parser_print_params
(
&
param_file
);
/* Print the contents of the structure to a file in YAML format. */
parser_write_params_to_file
(
&
param_file
,
"
tes
t.y
a
ml"
);
parser_write_params_to_file
(
&
param_file
,
"
parser_outpu
t.yml"
);
/* Retrieve parameters and store them in variables defined above.
* Have to specify the name of the parameter as it appears in the
...
...
This diff is collapsed.
Click to expand it.
tests/testParser.sh
+
1
−
0
View file @
754bd4be
#!/bin/bash
rm
parser_output.yml
./testParser testParserInput.yaml
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