2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-25 11:19:52 +01:00
Commit Graph

208 Commits

Author SHA1 Message Date
Thomas Nagy
2b03690f02 The lrelease program is necessary, not lupdate 2020-09-19 10:09:45 +02:00
Thomas Nagy
3b41d92e3c Make sure lupdate is explicitly required 2020-09-19 08:40:44 +02:00
Thomas Nagy
a910d07d55 Make the unit test result format API compatible with waf 2.0 2020-04-28 01:17:07 +02:00
Federico Pellegrin
04e586b28a waf_unit_test: correct also demos/playgrounds with addition of ut_task change 2020-04-24 08:52:01 +02:00
Federico Pellegrin
ba9ddfbfcb waf_unit_test: return also test task in report tuples 2020-04-22 03:55:38 +02:00
Thomas Nagy
4bfab7f926 Remove the accidental gccdeps requirement 2020-03-27 20:20:00 +01:00
Michael Vincent
b7549d33ed gccdeps: Add support for gas
Add support for generating and using gcc's native dependency files with
the GNU Assembler in addition to the existing C/C++ support.

When the gas and gccdeps tools are loaded, the configure step will test
whether gcc operating on an assembly file supports the -MMD argument.
If so, waf will pass the -MMD argument to .S files assembled with gcc
which will cause it to generate .d dependency files. Waf will then parse
those files for dependency information.

Note: This will only work for assembly files compiled through the gcc
frontend, not with GNU as directly. It also requires assembly files to
use the uppercase .S file extension.
2020-03-27 20:19:35 +01:00
Thomas Nagy
397432f81e Simplify the Python examples 2019-08-14 22:20:01 +02:00
Thomas Nagy
bbaa976ae0
Add executable arguments for configuration tests / execute=True
conf.check(..., execute=True, test_args=['--abc=def'])
2019-07-11 07:55:38 +02:00
Thomas Nagy
770910fcda Detect of assembly features in bld.program()/bld.shlib() 2019-06-26 12:03:29 +02:00
Thomas Nagy
05252b85df Fix PIE errors in demos/asm/ 2019-06-26 11:51:56 +02:00
Yannik Stradmann
8353c5ebfb Add demo for nested/flat python file installation 2019-06-19 23:46:27 +02:00
ita1024
d536d3ebab Merge branch 'javaw_outdir_type' into 'master'
javaw: bugfix outdir is always a node (since converted in apply_javac)

See merge request ita1024/waf!2242
2019-06-06 22:16:15 +00:00
Federico Pellegrin
fc0f5c86fd java demo: add test case for !2242 2019-06-06 20:33:43 +02:00
Thomas Nagy
1ade97f5c3
Add a configuration test for: "qt5 demo: add example of unit testing using QtTest" 2019-06-06 17:57:33 +02:00
Thomas Nagy
9df72c7898
Rework "qt5 demo: add example of unit testing using QtTest" 2019-06-06 16:45:24 +02:00
Thomas Nagy
82afd0a0e4
Rework "qt5 demo: add example of unit testing using QtTest" 2019-06-06 16:37:19 +02:00
fedepell
e6eca1eec5 qt5 demo: add example of unit testing using QtTest integrated into waf with standard waf_unit_test Tool 2019-06-05 14:59:26 +02:00
fedepell
d9babce4ce javaw: set dependency between javac task and use-d generated jars nodes 2019-05-07 14:42:39 +02:00
Thomas Nagy
e641f171be
Use .pipelines/Jenkinsfile instead of demos/wscript 2019-01-22 08:08:55 +01:00
Harald Klimach
24ea24ff24 Added more syntactic cases to the demos/fortran/submodules example.
Also build a main program that uses the parent module.
2018-12-21 23:36:55 +01:00
Harald Klimach
9ff9eb73ad Added submodules demonstrator to demos/fortran.
Its only built if gfortran is used at least with version 6.
2018-12-21 23:14:19 +01:00
James Harris
69bac69b5a ccroot.py: add skip_stlib_deps feature 2018-12-13 22:30:54 +00:00
Matt Selsky
a10822f688 Fix typos 2018-07-28 19:47:10 -04:00
fedepell
6363147a5e java demos: correct jaropts parameter example to an array as it is then used as such in javaw.py 2018-04-04 20:29:37 +02:00
Thomas Nagy
b806fe31d9
Moved gdbus to the playground area 2018-03-21 23:53:18 +01:00
Joshua Watt
922604492a gdbus: Add glib DBus bindings
Adds support for generating dbus bindings using the newer gdbus-codegen
tool that is designed to replace the deprecated dbus-binding-tool tool
2018-03-21 23:51:55 +01:00
Matt Selsky
28ea6e64e3 Typos 2018-03-06 09:14:40 +01:00
Thomas Nagy
deacb94c93
Force unit tests to depend on the executable creation time 2018-01-24 20:56:40 +01:00
Thomas Nagy
f5f4218cda
Set task.stdout=task.stderr for long-running tasks 2017-12-10 21:27:09 +01:00
Matt Selsky
f8f4f74403 Fix waf_unit_test class name 2017-12-03 10:03:24 +01:00
Thomas Nagy
e68bc5d65b
docs 2017-09-14 22:20:31 +02:00
Karl Linden
01e017cfc2 Make unit testing interpreted scripts work. 2017-09-04 21:07:20 +02:00
Thomas Nagy
4d7527b4c4 Clarify the exception type raised by cmd_and_log 2017-06-20 11:20:53 +02:00
Thomas Nagy
0cebd3bd4d Clarify the buildall alias 2017-06-16 11:16:49 +02:00
Matt Selsky
a5918ab433 Update check_endianness() example to show that the return value needs to be used 2017-02-08 21:19:19 +01:00
Thomas Nagy
f446830935
docs 2017-01-29 19:59:57 +01:00
Thomas Nagy
f1487eab44
iso8859-1 -> latin-1 2017-01-21 13:28:06 +01:00
Thomas Nagy
1a0396ea88
Accept nested lists as bld(source=...) 2017-01-21 12:50:52 +01:00
dffischer
b521041eb4 glib2: Compile schemas per directory (#1881)
* glib2: Compile schemas per directory

By changing GSETTINGSSCHEMADIR during the build setup or on single tasks
or generators, the user may place schemas in various locations. Adding a
post build function for each of this location compiles all of them
instead of only one global directory.

* glib2: Notify user about failed schema compilation

* glib2: Demo schemas installed to multiple places

A new schema lacking lacking any enumerations was introduced. Installing
it isolated simplifies the generator creation to the essential
components demonstrated.
2016-12-23 17:45:12 +01:00
Thomas Nagy
8efd28c2d5
Update the -source version in java examples 2016-11-26 12:03:12 +01:00
Thomas Nagy
e1f700aee8
Missing ut_cwd value in example 2016-11-19 10:02:59 +01:00
Thomas Nagy
9ddb8c27ef
docs 2016-11-06 12:10:39 +01:00
Thomas Nagy
afe6862525
Make unportable demos/c tests non-mandatory 2016-09-02 23:05:27 +02:00
Thomas Nagy
e3092aadc7
Parallel tests can now have an execution order 2016-09-01 22:08:03 +02:00
Thomas Nagy
5b30eba4db
Let parallel tests run all tests by default (do not stop on the first error) 2016-08-21 15:10:20 +02:00
Thomas Nagy
ec6b72b0ad
Display failed configuration tests in yellow in multicheck 2016-08-20 13:06:23 +02:00
Thomas Nagy
93bda59033
docs 2016-08-20 12:21:16 +02:00
Thomas Nagy
145118227c
Docs 2016-08-19 22:31:32 +02:00
Thomas Nagy
7d3ddac860
Parallel configuration tests with arbitrary functions #1793 2016-08-19 22:15:04 +02:00