[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[csmith-project/creduce] bca091: Implement a --timeout option. Set it to 5 minutes ...



  Branch: refs/heads/timeout
  Home:   https://github.com/csmith-project/creduce
  Commit: bca091578a9bc685f61b9da20dc8ce6f609ac126
      https://github.com/csmith-project/creduce/commit/bca091578a9bc685f61b9da20dc8ce6f609ac126
  Author: Vassil Vassilev <v.g.vassilev@gmail.com>
  Date:   2016-06-19 (Sun, 19 Jun 2016)

  Changed paths:
    M creduce/creduce.in

  Log Message:
  -----------
  Implement a --timeout option. Set it to 5 minutes by default.

In some cases creduce could make the compiler end up in an infinite loop. The
timeout should abort the current transformation and reject it.


  Commit: 5b553839f9ab0db06c734fa26961866f2fc3ae35
      https://github.com/csmith-project/creduce/commit/5b553839f9ab0db06c734fa26961866f2fc3ae35
  Author: Vassil Vassilev <v.g.vassilev@gmail.com>
  Date:   2016-06-19 (Sun, 19 Jun 2016)

  Changed paths:
    M creduce/creduce.in

  Log Message:
  -----------
  Timeout parameter should take an integer value.


  Commit: 229bff19b71bf016829fc332138ab63b6ee3495b
      https://github.com/csmith-project/creduce/commit/229bff19b71bf016829fc332138ab63b6ee3495b
  Author: Vassil Vassilev <v.g.vassilev@gmail.com>
  Date:   2016-06-19 (Sun, 19 Jun 2016)

  Changed paths:
    M creduce/creduce.in

  Log Message:
  -----------
  On timeout we need to clean the remnants.


  Commit: c70a92df3a4cd35e2e8cb7fa3e14023e5f1f2f89
      https://github.com/csmith-project/creduce/commit/c70a92df3a4cd35e2e8cb7fa3e14023e5f1f2f89
  Author: Vassil Vassilev <v.g.vassilev@gmail.com>
  Date:   2016-06-19 (Sun, 19 Jun 2016)

  Changed paths:
    M creduce/creduce.in

  Log Message:
  -----------
  Kill the timing out process.

Perl alarm just throws an exception it doesn't kill anything. Try using the
killem routine to do the job.


Compare: https://github.com/csmith-project/creduce/compare/bca091578a9b^...c70a92df3a4c