Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
grumpy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
grumpy
Commits
27b4f456
Commit
27b4f456
authored
Dec 22, 2016
by
Dylan Trotter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
expr_visitor_test and stmt_test do not depend on stdlib targets.
parent
8cd8f8de
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Makefile
Makefile
+5
-2
No files found.
Makefile
View file @
27b4f456
...
@@ -105,12 +105,14 @@ $(COMPILER_D_FILES): $(PY_DIR)/%.d: $(PY_DIR)/%.py $(COMPILER_SRCS)
...
@@ -105,12 +105,14 @@ $(COMPILER_D_FILES): $(PY_DIR)/%.d: $(PY_DIR)/%.py $(COMPILER_SRCS)
-include
$(COMPILER_D_FILES)
-include
$(COMPILER_D_FILES)
$(COMPILER_EXPR_VISITOR_PASS_FILES)
:
build/site-packages/grumpy/compiler/expr_visitor_test.%.pass: build/site-packages/grumpy/compiler/expr_visitor_test.py $(RUNNER)
# Does not depend on stdlibs since it makes minimal use of them.
$(COMPILER_EXPR_VISITOR_PASS_FILES)
:
build/site-packages/grumpy/compiler/expr_visitor_test.%.pass: build/site-packages/grumpy/compiler/expr_visitor_test.py $(RUNNER_BIN) $(COMPILER) $(RUNTIME)
@
python
$<
--shard
=
$*
@
python
$<
--shard
=
$*
@
touch
$@
@
touch
$@
@
echo
'compiler/expr_visitor_test $* PASS'
@
echo
'compiler/expr_visitor_test $* PASS'
$(COMPILER_STMT_PASS_FILES)
:
build/site-packages/grumpy/compiler/stmt_test.%.pass: build/site-packages/grumpy/compiler/stmt_test.py $(RUNNER)
# Does not depend on stdlibs since it makes minimal use of them.
$(COMPILER_STMT_PASS_FILES)
:
build/site-packages/grumpy/compiler/stmt_test.%.pass: build/site-packages/grumpy/compiler/stmt_test.py $(RUNNER_BIN) $(COMPILER) $(RUNTIME)
@
python
$<
--shard
=
$*
@
python
$<
--shard
=
$*
@
touch
$@
@
touch
$@
@
echo
'compiler/stmt_test $* PASS'
@
echo
'compiler/stmt_test $* PASS'
...
@@ -174,6 +176,7 @@ $(patsubst %_test,build/%.go,$(ACCEPT_TESTS)): build/%.go: %_test.py $(COMPILER)
...
@@ -174,6 +176,7 @@ $(patsubst %_test,build/%.go,$(ACCEPT_TESTS)): build/%.go: %_test.py $(COMPILER)
@
mkdir
-p
$
(
@D
)
@
mkdir
-p
$
(
@D
)
@
grumpc
$<
>
$@
@
grumpc
$<
>
$@
# TODO: These should not depend on stdlibs and should instead build a .d file.
$(patsubst %,build/%,$(ACCEPT_TESTS))
:
build/%_test: build/%.go $(RUNTIME) $(STDLIB)
$(patsubst %,build/%,$(ACCEPT_TESTS))
:
build/%_test: build/%.go $(RUNTIME) $(STDLIB)
@
mkdir
-p
$
(
@D
)
@
mkdir
-p
$
(
@D
)
@
go build
-o
$@
$<
@
go build
-o
$@
$<
...
...
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