aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-11-06CI: replace compiletest-rs with trybuildJorge Aparicio
We use compiletest to run compile-fail tests but compiletest depends on compiler internals so it breaks every now and then and requires nightly. With trybuild we can also run compile-fail tests but it works on stable and it already has reached version 1.0
2019-08-21drop the "multi" testJorge Aparicio
2019-08-20adapt to changes in rtfm-syntaxJorge Aparicio
2019-06-13rtfm-syntax refactor + heterogeneous multi-core supportJorge Aparicio
2019-05-21remove unused checkJorge Aparicio
that was added in #140 but it's no longer required
2019-05-01test RFC 147Jorge Aparicio
2019-05-01update compile-fail testsJorge Aparicio
2019-05-01update compile-pass testsJorge Aparicio
2019-04-16check task priority at compile timeJorge Aparicio
before we were checking the priority at runtime. The compile time error message when the priority is too high is kind of awful though.
2019-02-26fix warnings in cpass testJorge Aparicio
2019-02-26make cfail test actually failJorge Aparicio
2019-02-26add some testsJorge Aparicio
2019-02-23reject duplicate arguments in #[interrupt] and #[exception]Jorge Aparicio
This program was being accepted: ``` rust #[task( capacity = 1, capacity = 2, priority = 1, priority = 2, )] fn foo() {} ``` now it will trigger a compiler error
2019-02-16cargo fmtJorge Aparicio
2019-02-12update examples and testsJorge Aparicio
2019-02-12forbid early returns in initJorge Aparicio
2018-12-16properly handle `#[cfg]` (conditional compilation) on tasksJorge Aparicio
2018-12-16properly handle #[cfg] (conditional compilation) on resourcesJorge Aparicio
2018-12-15remove no longer necessary feature gatesJorge Aparicio
2018-11-04fix codegenJorge Aparicio
2018-11-03v0.4.0Jorge Aparicio
closes #32 closes #33
2018-08-24more fixesJorge Aparicio
2018-04-16cargo fmtJorge Aparicio
2018-04-16update parserJorge Aparicio
closes #69 this doesn't change functionality per se but improves diagnostics in some cases. Some hard errors have becomes warnings, for example: when `resources` is empty, or when `idle.path` is set to the default `idle` path.
2017-12-09safe `&'static mut` references via init.resourcesJorge Aparicio
2017-12-09implement the Resource trait for owned resourcesJorge Aparicio
this unbreaks the "generics" example
2017-12-09make resource proxies not SyncJorge Aparicio
2017-12-09deny warnings and unsafe code in tests and examplesJorge Aparicio
2017-12-09make resource proxies !SendJorge Aparicio
2017-12-09rename LateResourceValues to LateResourcesJorge Aparicio
2017-12-08fix cfail testsJorge Aparicio
2017-11-22fix ciJorge Aparicio
2017-09-22Add cfail test for late resourcesJonas Schievink
2017-09-22Fix warning in wrong-threshold cfail testJonas Schievink
2017-09-22Don't use deprecated method to create compiletest configJonas Schievink
2017-07-27`Send`-ness check is now in rtfm-coreJorge Aparicio
2017-07-27make task.$T.enabled optionalJorge Aparicio
and move the logic that differentiates interrupts from exceptions from the crate to the procedural macro logic
2017-07-27update tests and examplesJorge Aparicio
with task! gone 3 types of errors / gotchas have been eliminated :tada:
2017-07-24add another duplicated-handler cfail testJorge Aparicio
2017-07-23add cfail test: borrow can't escape critical sectionsJorge Aparicio
2017-07-23update cfail testsJorge Aparicio
2017-07-20more cfail testsJorge Aparicio
2017-07-18tasks / idle have exclusive access to Threshold, but do not own the tokenJorge Aparicio
2017-07-18add cfail testsJorge Aparicio
2017-07-04rtfm! macro take 2Jorge Aparicio
2017-05-08require Resource protected data to be Send, make tokens !SendJorge Aparicio
2017-05-08replace the ceiling token with a preemption threshold tokenJorge Aparicio
2017-04-27make the ceiling part of the task signatureJorge Aparicio
remove the P.as_ceiling method
2017-04-25fix cfail testsJorge Aparicio
2017-04-25add a `peripherals!` macroJorge Aparicio
for safe declaration of `Peripheral`s closes #12