# file      : libbuild2/build/script/lexer+variable.test.testscript
# license   : MIT; see accompanying LICENSE file

# Test handling special variable names ($>, $<).
#

test.arguments = variable

: primary-target
:
{{
  : only
  :
  $* <">" >>EOO
  '>'
  <newline>
  EOO

  : followed
  :
  $* <">abc" >>EOO
  '>'
  'abc'
  <newline>
  EOO
}}

: prerequisite
:
{{
  : only
  :
  $* <"<" >>EOO
  '<'
  <newline>
  EOO

  : followed
  :
  $* <"<abc" >>EOO
  '<'
  'abc'
  <newline>
  EOO
}}
