Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anders Blomdell
LabComm
Commits
9754e239
Commit
9754e239
authored
May 05, 2015
by
Anders Blomdell
Browse files
Getting rid of symlinks for tests
parent
711205e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/Makefile
View file @
9754e239
TESTS
=
basic simple nested ref
TESTS
=
basic simple nested ref
LABCOMM_JAR
=
../compiler/labcomm2014_compiler.jar
LABCOMM_JAR
=
../compiler/labcomm2014_compiler.jar
LABCOMM
=
java
-jar
$(LABCOMM_JAR)
LABCOMM
=
java
-jar
$(LABCOMM_JAR)
MONO_PATH
=
$(
shell
realpath
../lib/csharp
)
PYTHONPATH
=
$(
shell
realpath
../lib/python
)
include
../lib/c/os_compat.mk
include
../lib/c/os_compat.mk
...
@@ -18,10 +20,10 @@ clean distclean:
...
@@ -18,10 +20,10 @@ clean distclean:
test_%
:
gen/%/signatures.py
\
test_%
:
gen/%/signatures.py
\
gen/%/c_relay
\
gen/%/c_relay
\
gen/%/cs_relay.exe
\
gen/%/cs_relay.exe
\
gen/%/labcomm2014.dll
\
gen/%/java_relay.class
\
gen/%/java_relay.class
\
gen/%/java_code
gen/%/java_code
PYTHONPATH
=
../lib/python ./test_encoder_decoder.py
\
PYTHONPATH
=
$(PYTHONPATH)
MONO_PATH
=
$(MONO_PATH)
\
./test_encoder_decoder.py
\
--signatures
=
gen/
$*
/signatures.py
\
--signatures
=
gen/
$*
/signatures.py
\
--test
tee
gen/
$*
/testdata
\
--test
tee
gen/
$*
/testdata
\
--test
gen/
$*
/c_relay /dev/stdin /dev/stdout
\
--test
gen/
$*
/c_relay /dev/stdin /dev/stdout
\
...
@@ -78,13 +80,8 @@ gen/%/cs_code.cs: %.lc Makefile | gen/%/.dir
...
@@ -78,13 +80,8 @@ gen/%/cs_code.cs: %.lc Makefile | gen/%/.dir
gen/%/cs_relay.cs
:
gen/%/typeinfo relay_gen_cs.py Makefile
gen/%/cs_relay.cs
:
gen/%/typeinfo relay_gen_cs.py Makefile
./relay_gen_cs.py
$<
>
$@
./relay_gen_cs.py
$<
>
$@
.PRECIOUS
:
gen/%/labcomm2014.dll
gen/%/labcomm2014.dll
:
ln
-s
../../../lib/csharp/labcomm2014.dll
$@
.PRECIOUS
:
gen/%/cs_relay.exe
.PRECIOUS
:
gen/%/cs_relay.exe
gen/%/cs_relay.exe
:
gen/%/cs_relay.cs gen/%/cs_code.cs
\
gen/%/cs_relay.exe
:
gen/%/cs_relay.cs gen/%/cs_code.cs Makefile
gen/%/labcomm2014.dll Makefile
mcs
-out
:
$@
$(
filter
%.cs,
$^
)
-lib
:../lib/csharp/
-r
:labcomm2014
mcs
-out
:
$@
$(
filter
%.cs,
$^
)
-lib
:../lib/csharp/
-r
:labcomm2014
# Java relay test rules
# Java relay test rules
...
...
Write
Preview
Supports
Markdown
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