Skip to content

Commit

Permalink
install to GMP/ instead of src/GMP and update all tests and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
bubaflub committed Jul 1, 2011
1 parent 4871e4c commit edf5ad6
Show file tree
Hide file tree
Showing 49 changed files with 53 additions and 53 deletions.
2 changes: 1 addition & 1 deletion examples/basic.winxed
@@ -1,4 +1,4 @@
$load 'src/GMP/Integer.pbc';
$load 'GMP/Integer.pbc';

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion setup.winxed
Expand Up @@ -51,7 +51,7 @@ function setup_stable_libraries(var parrot_gmp) {
for (string source in libs) {
string winxed_file = prefix + source + ".winxed";
string pir_file = prefix + source + ".pir";
string pbc_file = prefix + source + ".pbc";
string pbc_file = "GMP/" + source + ".pbc";
parrot_gmp["pir_winxed"][pir_file] = winxed_file;
parrot_gmp["pbc_pir"][pbc_file] = pir_file;
parrot_gmp["inst_lib"].push(pbc_file);
Expand Down
2 changes: 1 addition & 1 deletion t/integer/abs.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/add.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/addmul.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/and.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/bin.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/bit.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/com.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/congruent.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/divexact.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/divisible.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/fac.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/fib.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/fits.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/gcd.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/getlimbn.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/hamdist.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/invert.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/ior.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/jacobi.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/kronecker.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/lcm.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/legendre.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/lucas.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/mod.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/mul.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/neg.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/perfect.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/popcount.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/pow.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/powm.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/prime.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
4 changes: 2 additions & 2 deletions t/integer/random.t
@@ -1,6 +1,6 @@
$load "rosella/test.pbc";
$load "src/GMP/Random.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Random.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/remove.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/root.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/scan.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/size.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/sizeinbase.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/sqrt.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/sub.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/submul.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/swap.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/integer/xor.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/random/clear.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Random.pbc";
$load "GMP/Random.pbc";

class Test_GMP_Randclear {
function test_gmp_randclear() {
Expand Down
4 changes: 2 additions & 2 deletions t/random/init.t
@@ -1,6 +1,6 @@
$load "rosella/test.pbc";
$load "src/GMP/Random.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Random.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
4 changes: 2 additions & 2 deletions t/random/seed.t
@@ -1,6 +1,6 @@
$load "rosella/test.pbc";
$load "src/GMP/Random.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Random.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down
2 changes: 1 addition & 1 deletion t/random/set.t
@@ -1,5 +1,5 @@
$load "rosella/test.pbc";
$load "src/GMP/Random.pbc";
$load "GMP/Random.pbc";

class Test_GMP_Randset {
function test_gmp_randset() {
Expand Down
4 changes: 2 additions & 2 deletions t/random/urandom.t
@@ -1,6 +1,6 @@
$load "rosella/test.pbc";
$load "src/GMP/Random.pbc";
$load "src/GMP/Integer.pbc";
$load "GMP/Random.pbc";
$load "GMP/Integer.pbc";

namespace GMP {
class Integer;
Expand Down

0 comments on commit edf5ad6

Please sign in to comment.