Commit cb7ae61
committed
libjob: support virtual states in conversions
Problem: It would be convenient if virtual job states of "pending",
"running", and "active" could be parsed and handled by flux_job_statetostr()
and flux_job_strtostate().
Solution: Add virtual states to the table of states that can be parsed
and handled by flux_job_statetostr() and flux_job_strtostate(). Update unit
tests for coverage as well.1 parent cebabb1 commit cb7ae61
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
244 | 247 | | |
245 | 248 | | |
246 | 249 | | |
| |||
0 commit comments