Project

General

Profile

Bug #9589

Fix obtaining compiler options for building models

Added by Evgeny Novikov about 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Tasks generation
Target version:
Start date:
04/07/2019
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

At the moment there is such ugly exception when there is not an appropriate build command in a build base:

Raise exception:
Traceback (most recent call last):
  File "/home/novikov/work/klever/core/core/components.py", line 427, in run
    self.main()
  File "/home/novikov/work/klever/core/core/components.py", line 332, in callbacks_caller
    ret = attr(*args, **kwargs)
  File "/home/novikov/work/klever/core/core/vtg/rsg/__init__.py", line 52, in generate_requirement
    self.add_models(generated_models)
  File "/home/novikov/work/klever/core/core/components.py", line 332, in callbacks_caller
    ret = attr(*args, **kwargs)
  File "/home/novikov/work/klever/core/core/vtg/rsg/__init__.py", line 196, in add_models
    if not empty_cc:
UnboundLocalError: local variable 'empty_cc' referenced before assignment

History

#1

Updated by Evgeny Novikov 5 months ago

  • Assignee changed from Evgeny Novikov to Ilja Zakharov
  • Status changed from New to Resolved

I fixed some bugs and make some refactoring in branch compiler-model-opts. Wait for testing results since changes are crucial.

#2

Updated by Evgeny Novikov 5 months ago

In general the issue was fixed by Ilja Zakharov (likely for BusyBox or/and Zephyr).

#3

Updated by Evgeny Novikov 5 months ago

  • Status changed from Resolved to Closed

Tests passed, so, I merged the branch to master in 320f150e8.

Also available in: Atom PDF