Commit Graph

323 Commits

Author SHA1 Message Date
Olivier Ramonat
e0bceaabc5 Add support for x86_64-windows64
TN: T415-008
(cherry picked from commit 3af20864d6)
2020-04-15 12:56:26 +02:00
Thomas Quinot
9bdc101855 Add from_platform_name test case for Solaris hosted cross
For QA19-060
2019-07-11 15:49:29 +02:00
Nicolas Roche
dab309e5dc Merge pull request #274 from enzbang/S704-020
Add rlimit for 64bit windows
2019-07-11 12:46:52 +02:00
Olivier Ramonat
3ec49e842d Add rlimit for 64bit windows
Add rlimit sources and build instruction
Add test for 64bit windows

TN: S704-020
2019-07-11 12:40:15 +02:00
Olivier Ramonat
4bbf3e725f Merge pull request #257 from Nikokrock/extension
Add extension function
2019-03-28 17:51:08 +01:00
Nicolas Roche
de88b73f39 Add extension function 2019-03-28 14:31:18 +01:00
Nicolas Roche
bc0d9f4ef6 Various DAG improvements
* Remove non essential checks (get_closure, __str__, as_dot). These
  functions do work even when the DAG has a cycle
* Add shortest_path function.
* Add minimal cycle in exception message when a node introduce a cycle.
2019-03-25 17:23:26 +01:00
Nicolas Roche
995e544513 Add prune function on DAGs 2019-03-25 12:33:41 +01:00
Olivier Ramonat
af2261fd0f e3.main: add --console-logs option
With --console-logs=PREFIX option logs will be emited to stdout, without
any color or progress bar and each log record will be prefixed by
"PREFIX: "

TN: S321-029
2019-03-21 16:46:30 +01:00
Olivier Ramonat
76df94a4fb Suggest plan fix when possible
When an explict calls is missing in the plan, e3 now suggest
a possible fix

TN: S316-002
2019-03-17 19:25:57 +01:00
Olivier Ramonat
f84bc5e4d0 Rename BuildOrInstall to BuildOrDownload
BuildOrInstall is the name of the class deciding whether to
build or download a component. It makes more sense to rename it
BuildOrDownload.
2019-03-17 19:25:55 +01:00
Olivier Ramonat
80fc73005e Generate a clear error message in case of conflict
When two plan lines generates a conflicting action the
exception raised contains a much clearer message including the
references to the two lines causing the conflict and the decision
choice associated with each of them.

TN: S111-036
2019-03-17 19:25:15 +01:00
Olivier Ramonat
d002b05099 Ignore E3_HOSTNAME variable when running tests 2019-03-08 09:11:43 +01:00
Olivier Ramonat
5da2470e01 Force setting of E3_ENABLE_FEATURE to have stable tests
Setting E3_ENABLE_FEATURE=smtp_ssl outside should not modify test
results. Force the export in conftest.py and mock SMTP_SSL.

Not doing that generates a failure when smtp_ssl is set:

  AttributeError: SMTP_SSL instance has no attribute 'local_hostname'
2019-03-07 10:12:24 +01:00
Olivier Ramonat
245abede4c Remove unwanted space character 2019-02-27 16:42:03 +01:00
Olivier Ramonat
abea34acc5 Split conftest to allow reusing the code in other packages 2019-02-25 08:00:56 +01:00
Olivier Ramonat
80b1eae8ae Generate results files for anod when running tests
TN: S220-032
2019-02-22 19:02:29 +01:00
Olivier Ramonat
62b08d691e Mark test_interrupt XFAIL
The python process spawned by this test can sometimes return a status
code 0. This is happening mostly on our internal CI server.

There is no interest in debugging that currently so ignore this failure.
2019-02-20 12:17:12 +01:00
Olivier Ramonat
7367001a53 Merge pull request #235 from Nikokrock/entry_point_class
Add EntryPoint class
2019-02-19 21:54:42 +01:00
Nicolas Roche
ecd1f82713 Add EntryPoint class
Part of S218-016
2019-02-19 17:09:52 +01:00
Olivier Ramonat
e10c8c8db8 Avoid race condition in test_interrupt
Calling interrupt just after having spawned a process might not work,
let the process enough time to start before sending the interrupt
signal.
2019-02-18 14:53:04 +01:00
Olivier Ramonat
cf7496651e Fix indent issue detected by pycodestyle 2019-02-06 16:06:30 +01:00
Olivier Ramonat
bbda8b46b6 Update after API change in pytest
Fixes #232
2019-02-06 15:39:42 +01:00
Olivier Ramonat
7b9fb868de Merge pull request #226 from AnnaKaczorowski/unmanaged-source
Do not create source package for unmanaged source
2018-11-22 09:47:12 +01:00
Olivier Ramonat
15a4febf2c Merge pull request #225 from AnnaKaczorowski/adjust-activate
Populate deps attribute of Anod instance
2018-11-22 09:45:54 +01:00