Kconfig 936 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # SPDX-License-Identifier: GPL-2.0
  2. # Test that transitional symbols cannot have properties other than help
  3. config BAD_DEFAULT
  4. bool
  5. transitional
  6. default y
  7. help
  8. This transitional symbol illegally has a default property.
  9. config BAD_PROMPT
  10. bool
  11. transitional
  12. prompt "Bad prompt"
  13. help
  14. This transitional symbol illegally has a prompt.
  15. config BAD_SELECT
  16. bool
  17. transitional
  18. select OTHER_SYMBOL
  19. help
  20. This transitional symbol illegally has a select.
  21. config BAD_IMPLY
  22. bool
  23. transitional
  24. imply OTHER_SYMBOL
  25. help
  26. This transitional symbol illegally has an imply.
  27. config BAD_DEPENDS
  28. bool
  29. transitional
  30. depends on OTHER_SYMBOL
  31. help
  32. This transitional symbol illegally has a depends.
  33. config BAD_RANGE
  34. int
  35. transitional
  36. range 1 10
  37. help
  38. This transitional symbol illegally has a range.
  39. config BAD_NO_TYPE
  40. transitional
  41. help
  42. This transitional symbol illegally has no type specified.
  43. config OTHER_SYMBOL
  44. bool