aboutsummaryrefslogtreecommitdiff
path: root/scripts/utils.py
Commit message (Collapse)AuthorAge
* Add boot timeoutKarel Kočí2015-08-24
| | | | | | Boot process should timeout after selected number of seconds if no output is generated. This allows resolving some problems with possible boot stuck.
* Added dirty repository checkKarel Kočí2015-08-19
| | | | | Test run and initialization now shows warning about dirty repository and loop can't be executed if linux or root repository is dirty.
* Fix utils.callsubprocess stdinKarel Kočí2015-08-19
|
* Store boot output to databaseKarel Kočí2015-08-19
| | | | | | | | | Because configuration is now stored in database only missing informations to make database fully descriptive is boot output. This makes output of boot command to be saved to database and not to file. Also parse script should read input from stdin and not from file from argument.
* Write stderr to log file together with stdoutKarel Kočí2015-08-18
| | | | | | | Utils function callsubprocess now logs all program output including stderr. Convenient would be to print stderr even if output is disabled. But this would probably required threads.
* Scripts changed to use database.Karel Kočí2015-07-28
| | | | | | | | | | | | | Also initial implementation of multithread execution. A lot of functionality changed. Phases removed. Output parsing is now part of measure (boot) process. Utils cleared. Add dot_measure file for inverted dot_config. Configuration generating is now prepared for multiple generating types. Fist implemented is generating configurations with single selected configuration. Test is modified to be compatible with new changes.
* Remove unused function from utilsKarel Kočí2015-07-24
| | | | build_conf_map is not used anywhere. And plan is to change files with which it works. So it doesn't have any sense to keeping it there or even rewriting it.
* Change log files positionKarel Kočí2015-07-24
| | | | Log files won't be in only one folder. Every program have its own folder.
* Fix big amount of bugs in recently commited codeKarel Kočí2015-07-24
| | | | | Recently committed code wasn't tested, because most of the required infrastructure wasn't yet written. So bugs must be fixed after more parts of system are reimplemented.
* Return timestamp to subprocess execution logKarel Kočí2015-07-24
| | | | | When script is running, this function could be executed multiple times in same second. If it would happen, it wouldn't be easy find where starts which execution.
* Change logging methodKarel Kočí2015-07-24
| | | | | Now every execution is in separated file. Also logging folder creation moved from callprocess tto initialize.base
* Implement evaluateKarel Kočí2015-05-16
|
* Fix error in utils scriptKarel Kočí2015-05-14
|
* Fix booting process and test targetKarel Kočí2015-05-14
| | | | Test target wasn't working properly. Now it should work.
* Add kernel_env settingKarel Kočí2015-05-13
|
* Add implementation of hash indexing of configurationsKarel Kočí2015-05-07
|
* Chnage conf paths from absolute to relativeKarel Kočí2015-04-27
|
* Fix python scripts to work with parse_kconfigKarel Kočí2015-04-13
|
* Implementing main loopKarel Kočí2015-02-03
These new scripts are part of main loop. kernel is not finished!! Divides kconfig_parser, sat_solution to better named modules. Phasing and iteration is implemented for loop watching.