mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 15:41:05 +08:00
8230c0d396
Solution: it's a lot of work to define the tests in project.gyp so I did this using gsl to generate the JSON, from a small XML list of the test cases. To keep this, and the hundreds of .mk files, away from the root directory, I've moved the gyp files into builds/gyp, where you would run them. It all seems to work now. Next up, OS/X and Windows :)
20 lines
351 B
Plaintext
20 lines
351 B
Plaintext
.echo "Generating project-tests.gypi..."
|
|
.output "project-tests.gypi"
|
|
{
|
|
'targets': [
|
|
.for test
|
|
{
|
|
'target_name': '$(name)',
|
|
'type': 'executable',
|
|
'sources': [
|
|
'../../tests/$(name).cpp',
|
|
'../../tests/testutil.hpp'
|
|
],
|
|
'dependencies': [
|
|
'libzmq'
|
|
],
|
|
}$(last ()?? ""? ",")
|
|
.endfor
|
|
]
|
|
}
|