Ran
|
Jobs
1
|
Files
89
|
Run time
9s
|
Badge
Embed ▾
README BADGES
|
push
github
test: fix initialization in lj-549-lua-load.test.c This patch is the follow up for the test introduced in the commit cf2d9bb89 ("Followup fix for embedded bytecode loader.") to make old C compilers happy. In C language, objects with static storage duration have to be initialized with constant expressions or with aggregate initializers containing constant expressions. The term "constant" refers to literal constants (like 1, 'a', 0xFF, and so on), enum members, and the results of such operators as sizeof. Const-qualified objects (of any type) are not constants in C language terminology. They cannot be used in initializers of objects with the static storage duration, regardless of their type. Hence, the patch defines the first one byte from the Lua bytecode signature explicitly and prevents the source code discrepancy with the corresponding static assertion.
5425 of 6016 branches covered (90.18%)
Branch coverage included in aggregate %.
20759 of 23409 relevant lines covered (88.68%)
2801109.84 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 7915141696.1 | 89 |
88.99 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|