Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
all_SUITE_data
ei_accept_SUITE_data
ei_connect_SUITE_data
ei_decode_SUITE_data
ei_decode_encode_SUITE_data
ei_encode_SUITE_data
ei_format_SUITE_data
ei_print_SUITE_data
ei_tmo_SUITE_data
erl_connect_SUITE_data
erl_eterm_SUITE_data
erl_ext_SUITE_data
erl_format_SUITE_data
erl_global_SUITE_data
erl_match_SUITE_data
port_call_SUITE_data
Makefile
Makefile.src
README
ei_accept_SUITE.erl
ei_connect_SUITE.erl
ei_decode_SUITE.erl
ei_decode_encode_SUITE.erl
ei_encode_SUITE.erl
ei_format_SUITE.erl
ei_print_SUITE.erl
ei_tmo_SUITE.erl
erl_connect_SUITE.erl
erl_eterm_SUITE.erl
erl_ext_SUITE.erl
erl_format_SUITE.erl
erl_global_SUITE.erl
erl_interface.cover
erl_interface.dynspec
erl_interface.spec
erl_interface.spec.vxworks
erl_match_SUITE.erl
port_call_SUITE.erl
runner.erl

README

One way to create a new suite, copy an old one
that is similar to a new one

  % setenv SIMILAR ei_xyz
  % setenv NEW ei_abc

  % ct mkdir  ${NEW}_SUITE_data
  % ct mkelem ${NEW}_SUITE.erl
  % cp ${SIMILAR}_SUITE.erl ${NEW}_SUITE.erl
  % cp ${SIMILAR}_SUITE_data/* ${NEW}_SUITE_data/
  % chmod ug+rw ${NEW}_SUITE_data/*
  % mv ${NEW}_SUITE_data/${SIMILAR}_test.c ${NEW}_SUITE_data/${NEW}_test.c
  % ct mkelem ${NEW}_SUITE_data/*

Now edit "${NEW}_SUITE.erl" and the files in "${NEW}_SUITE_data/".

To use a test suite you build it and put the result outside
ClearCase. Then you create soft links to the ClearCase elements.

  % setenv SRC /clearcase/otp/erts/lib/erl_interface/test
  % setenv DST /ldisk/test
  % cd $SRC
  % clearmake -V release TESTROOT=$DST
  % foreach f (`find . -type f`)
  foreach> \rm -f /ldisk/test/erl_interface_test/$f
  foreach> ln -s $SRC/$f $DST/erl_interface_test/$f
  foreach> end
Something went wrong with that request. Please try again.