message: Crash if lit parameters cannot be parsed
diff: @@ -38,21 +38,27 @@ x86_enabled = lit_config.params.get('x86_enabled')
  if x86_enabled == "ON":
  print("X86_ENABLED: YES")
  config.available_features.add("X86_ENABLED")
  -else:
  +elif x86_enabled == "OFF":
  print("X86_ENABLED: NO")
  +else:
  + sys.exit("Cannot parse x86_enabled: " + x86_enabled)
  # ARM backend
  arm_enabled = lit_config.params.get('arm_enabled')
  if arm_enabled == "ON":
  print("ARM_ENABLED: YES")
  config.available_features.add("ARM_ENABLED")
  -else:
  +elif arm_enabled == "OFF":
  print("ARM_ENABLED: NO")
  +else:
  + sys.exit("Cannot parse arm_enabled: " + arm_enabled)
  # WebAssembly backend
  wasm_enabled = lit_config.params.get('wasm_enabled')
  if wasm_enabled == "ON":
  print("WASM_ENABLED: YES")
  config.available_features.add("WASM_ENABLED")
  -else:
  +elif wasm_enabled == "OFF":
  print("WASM_ENABLED: NO")
  +else:
  + sys.exit("Cannot parse wasm_enabled: " + wasm_enabled)
  