]> rtime.felk.cvut.cz Git - frescor/frsh.git/commitdiff
aqcputest updated to test get_vres_from_label feature as well.
authorDario Faggioli <faggioli@gandalf.sssup.it>
Tue, 26 May 2009 06:49:44 +0000 (08:49 +0200)
committerDario Faggioli <faggioli@gandalf.sssup.it>
Tue, 26 May 2009 06:49:44 +0000 (08:49 +0200)
resources/cpu_aquosa/tests/aqcputest.c

index 122a9aacb8b60545d7359e46d5a35d1a1e5b4893..0acc8893d8207643af18854ea92e1de757c9f747 100644 (file)
@@ -19,14 +19,14 @@ void* work_thread()
 
                printf("\tvres retrieved from thread-ID: %d\n", (int) vres_id);
 
-               //ret = frsh_resource_get_vres_from_label("TEST_VRES",
-               //                                      FRSH_RT_PROCESSOR,
-               //                                      0,
-               //                                      &vres_id);
-               //
-               //if (ret) PERROR_AND_EXIT(ret, "frsh_get_vres_from_label");
-               //
-               //printf("\ton retrived from label: %d\n", (int) vres_id);
+               ret = frsh_resource_get_vres_from_label("TEST_VRES",
+                                                       FRSH_RT_PROCESSOR,
+                                                       0,
+                                                       &vres_id);
+               
+               if (ret) PERROR_AND_EXIT(ret, "frsh_get_vres_from_label");
+               
+               printf("\ton retrived from label: %d\n", (int) vres_id);
        }
 
        return EXIT_SUCCESS;